Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExternalURL ¶
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.
func Version ¶
func Version() string
Version returns the semantic version of the build. Use golang.org/x/mod/semver to compare versions.
func VersionsMatch ¶ added in v0.7.7
VersionsMatch compares the two versions. It assumes the versions match if the major and the minor versions are equivalent. Patch versions are disregarded. If it detects that either version is a developer build it returns true.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.