Documentation
¶
Overview ¶
Package rversion holds reva's build/version metadata. The values are set at link time on cmd/revad (see the Makefile ldflags) and mirrored here at startup so any package — e.g. the `version` invocation in pkg/invoke — can report the reva version without importing cmd/revad (which would be an import cycle). Fields are empty in binaries built without those ldflags.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version is the reva release, from the repo VERSION file (e.g. "3.10.4"). Version string // GitCommit is the commit the binary was built from. GitCommit string // BuildDate is when the binary was built. BuildDate string // GoVersion is the Go toolchain version used to build it. GoVersion string )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.