Registry / utility / go-version

go-version

JSON →
library0.1.0gogounverified

A simple package for embedding version information into Go binaries at build time.

go get go.hein.dev/go-version
INSTALL
IMPORT
SIG · GO-VERSION
G
go-version
utilitygov0.1.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

version
go.hein.dev/go-version

Prints the embedded version string.

package main import ( "fmt" "go.hein.dev/go-version" ) func main() { fmt.Println(version.String()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
go-version — go get go-version · libregistry