buildinfo
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
funcExternalURL¶
func ExternalURL()string
ExternalURL returns a URL referencing the current Coder version.For production builds, this will link directly to a release.For development builds, this will link to a commit.
funcVersion¶
func Version()string
Version returns the semantic version of the build.Use golang.org/x/mod/semver to compare versions.
funcVersionsMatch¶added inv0.7.7
VersionsMatch compares the two versions. It assumes the versions match ifthe major and the minor versions are equivalent. Patch versions aredisregarded. If it detects that either version is a developer build itreturns true.
Types¶
This section is empty.