package
25.1.0+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
BinaryVersion returns the version prefix, patch number and metadata of the current build.
BranchReleaseSeries returns tha major and minor in version.txt, without allowing for any overrides.
GetInfo returns an Info struct populated with the build information.
IsRelease returns true if the binary was produced by a "release" build.
MakeIssueURL produces a URL to a CockroachDB issue.
SeemsOfficial reports whether this binary is likely to have come from an official release channel.
TestingOverrideVersion allows tests to override the binary version reported by cockroach.
VersionForURLs is used to determine the version to use in public-facing doc URLs.
# Constants
TimeFormat is the reference format for build.Time.
# Variables
Distribution is changed by the CCL init-time hook in non-APL builds.