env

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 7 Imported by: 1

Documentation

Index

Constants

View Source
const (
	MainVersion = "1.2"
)

Variables

This section is empty.

Functions

func BuildDate added in v1.0.30

func BuildDate() string

BuildDate returns build date of the `gop` command.

func GOPROOT added in v1.0.28

func GOPROOT() string

GOPROOT returns the root of the Go+ tree. It uses the GOPROOT environment variable, if set at process start, or else the root used during the Go+ build.

func HOME added in v1.0.30

func HOME() string

func Installed added in v1.1.9

func Installed() bool

Installed checks is `gop` installed or not. If returns false, it means `gop` is not installed or not in PATH.

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