env

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GlobEnv = Env{}

Functions

func GetBuildArgs

func GetBuildArgs(e Env, out string, goFile string) []string

GetBuildArgs 生成go命令使用的命令行参数

func GetCwd

func GetCwd() string

func RemoveIntermediateFiles

func RemoveIntermediateFiles(e Env, out string)

Types

type Env

type Env struct {
	BinSuffix string
	OS        string
	BuildMode string
	GoPath    string
	GoVersion string
	OkToBuild bool
}

func Check

func Check(golangPath ...string) Env

Jump to

Keyboard shortcuts

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