env

package
v0.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LLGoCompilerPkg    = "github.com/goplus/llgo"
	LLGoRuntimePkgName = "runtime"
	LLGoRuntimePkg     = LLGoCompilerPkg + "/" + LLGoRuntimePkgName
)

Variables

This section is empty.

Functions

func BuildTime

func BuildTime() string

BuildTime returns the build time of the running LLGo binary.

func Devel

func Devel() bool

func ExpandEnvSlice added in v0.11.6

func ExpandEnvSlice(templates []string, envs map[string]string) []string

ExpandEnvSlice expands template variables in a slice of strings

func ExpandEnvSliceWithDefault added in v0.11.6

func ExpandEnvSliceWithDefault(templates []string, envs map[string]string, defaultValue ...string) []string

ExpandEnvSliceWithDefault expands template variables in a slice with optional default for {}

func ExpandEnvWithDefault added in v0.11.6

func ExpandEnvWithDefault(template string, envs map[string]string, defaultValue ...string) string

ExpandEnvWithDefault expands template variables with optional default for {}

func GOROOT

func GOROOT() (string, error)

func LLGoCacheDir added in v0.11.1

func LLGoCacheDir() string

func LLGoROOT

func LLGoROOT() string

func LLGoRuntimeDir

func LLGoRuntimeDir() string

func Version

func Version() string

Version returns the version of the running LLGo binary.

Types

This section is empty.

Jump to

Keyboard shortcuts

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