Movatterモバイル変換


[0]ホーム

URL:


buildinfo

package
v2.23.0Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2025 License:AGPL-3.0Imports:6Imported by:0

Details

Repository

github.com/coder/coder

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.

funcHasSiteadded inv2.17.0

func HasSite()bool

HasSite returns true if the frontend is embedded in the build.

funcIsAGPL

func IsAGPL()bool

IsAGPL returns true if this is an AGPL build.

funcIsBoringCryptoadded inv2.2.0

func IsBoringCrypto()bool

funcIsDev

func IsDev()bool

IsDev returns true if this is a development build.CI builds are also considered development builds.

funcIsDevVersionadded inv2.2.0

func IsDevVersion(vstring)bool

funcIsSlim

func IsSlim()bool

IsSlim returns true if this is a slim build.

funcTime

func Time() (time.Time,bool)

Time returns when the Git revision was published.

funcVersion

func Version()string

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

funcVersionsMatch

func VersionsMatch(v1, v2string)bool

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.

Source Files

View all Source files

Directories

PathSynopsis
This package is used for embedding .syso resource files into the binary during build and does not contain any code.
This package is used for embedding .syso resource files into the binary during build and does not contain any code.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f orF : Jump to
y orY : Canonical URL
go.dev uses cookies from Google to deliver and enhance the quality of its services and to analyze traffic.Learn more.

[8]ページ先頭

©2009-2025 Movatter.jp