Skip to content

Latest commit

 

History

History

goinfo

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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/...