buildinfo

package
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 25, 2022 License: AGPL-3.0 Imports: 5 Imported by: 0

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 Time

func Time() (time.Time, bool)

Time returns when the Git revision was published.

func Version

func Version() string

Version returns the semantic version of the build. Use golang.org/x/mod/semver to compare versions.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL