Movatterモバイル変換


[0]ホーム

URL:


Alert GO-2024-3228: Coder vulnerable to post-auth URL redirection to untrusted site ('Open Redirect') in github.com/coder/coder
Notice  The highest tagged major version isv2.

buildinfo

package
v0.27.3Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 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.

funcIsAGPLadded inv0.15.0

func IsAGPL()bool

IsAGPL returns true if this is an AGPL build.

funcIsDevadded inv0.13.0

func IsDev()bool

IsDev returns true if this is a development build.

funcIsSlimadded inv0.15.0

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.

funcVersionsMatchadded inv0.7.7

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

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