Skip to content

Commit cdf11dc

Browse files
committed
docs: add godoc
1 parent 8109dde commit cdf11dc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

version/version.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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}"
17
package version
28

39
import (

0 commit comments

Comments
 (0)