Files
opencloud/vendor/github.com/gookit/goutil/x/goinfo
PC Kitty d97217f22c Update github.com/gookit/goutil to v0.7.4 for FreeBSD compatibility
The goutil that OpenCloud currently uses is one version from the release that adds FreeBSD support, this now compiles successfully on FreeBSD.
2026-04-28 18:03:17 +02:00
..

GoInfo

goutil/x/goinfo provide some useful info for golang.

Github: https://github.com/gookit/goutil

Install

go get github.com/gookit/goutil/x/goinfo

Go docs

Usage

gover := goinfo.GoVersion() // eg: "1.15.6"

Testings

go test -v ./goinfo/...

Test limit by regexp:

go test -v -run ^TestSetByKeys ./goinfo/...