env

package
v1.0.32 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2021 License: Apache-2.0 Imports: 6 Imported by: 1

Documentation

Index

Constants

View Source
const (
	MainVersion = "1.0"
)

Variables

This section is empty.

Functions

func BuildDate added in v1.0.30

func BuildDate() string

func BuildRevision added in v1.0.30

func BuildRevision() string

BuildRevision returns build revision id.

func GOMODCACHE added in v1.0.30

func GOMODCACHE() string

func GOPATH added in v1.0.30

func GOPATH() string

func GOPMOD added in v1.0.30

func GOPMOD(dir string) (file string, err error)

func GOPROOT added in v1.0.28

func GOPROOT() string

func HOME added in v1.0.30

func HOME() string

func Version

func Version() string

Version returns the GoPlus tree's version string. It is either the commit hash and date at the time of the build or, when possible, a release tag like "v1.0.0-rc1".

Types

This section is empty.

Jump to

Keyboard shortcuts

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