We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8109dde commit cdf11dcCopy full SHA for cdf11dc
version/version.go
@@ -1,3 +1,9 @@
1
+// version package provides build-time version information.
2
+// It is designed to be used via the -ldflags option of go build.
3
+//
4
+// e.g.
5
6
+// go build -ldflags "-X github.com/kunitsucom/util.go/version.version=${BUILD_VERSION} -X github.com/kunitsucom/util.go/version.revision=${BUILD_REVISION} -X github.com/kunitsucom/util.go/version.branch=${BUILD_BRANCH} -X github.com/kunitsucom/util.go/version.timestamp=${BUILD_TIMESTAMP}"
7
package version
8
9
import (
0 commit comments