Skip to content

Latest commit

 

History

History
34 lines (21 loc) · 440 Bytes

README.md

File metadata and controls

34 lines (21 loc) · 440 Bytes

GoInfo

goutil/goinfo provide some useful info for golang.

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

Install

go get github.com/gookit/goutil/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/...