Documentation
¶
Index ¶
- Constants
- func BuildTime() string
- func Devel() bool
- func ExpandEnvSlice(templates []string, envs map[string]string) []string
- func ExpandEnvSliceWithDefault(templates []string, envs map[string]string, defaultValue ...string) []string
- func ExpandEnvWithDefault(template string, envs map[string]string, defaultValue ...string) string
- func GOROOT() (string, error)
- func LLGoCacheDir() string
- func LLGoROOT() string
- func LLGoRuntimeDir() string
- func Version() string
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 ExpandEnvSlice ¶ added in v0.11.6
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
ExpandEnvWithDefault expands template variables with optional default for {}
func LLGoCacheDir ¶ added in v0.11.1
func LLGoCacheDir() string
func LLGoRuntimeDir ¶
func LLGoRuntimeDir() string
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.