Documentation ¶
Index ¶
- Variables
- type Env
- func (e *Env) AddString(key, value string)
- func (e *Env) BuildDebug() bool
- func (e *Env) BuildStamp() int64
- func (e *Env) CheckArchitecture() bool
- func (e *Env) Compiler() string
- func (e *Env) GOARCH() string
- func (e *Env) GOOS() string
- func (e *Env) GOPATH() string
- func (e *Env) GOPATHBIN() string
- func (e *Env) GOROOT() string
- func (e *Env) GOVER() string
- func (e *Env) GetAll() map[string]string
- func (e *Env) GetAsBool(key string) bool
- func (e *Env) GetAsInt(key string) int
- func (e *Env) GetFormattedTime() string
- func (e *Env) GetString(key string) string
- func (e *Env) GetUsername() string
- func (e *Env) IsCompiled() bool
- func (e *Env) ListSeparator() string
- func (e *Env) Now(layout string) string
- func (e *Env) NumCPU() int
- func (e *Env) PathSeparator() string
- func (e *Env) SetBool(key string, value bool) error
- func (e *Env) SetInt(key string, value int) error
- func (e *Env) SetString(key, value string) error
- func (e *Env) Size() int
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Prefix = ""
)
Functions ¶
This section is empty.
Types ¶
type Env ¶
type Env struct {
// contains filtered or unexported fields
}
func (*Env) BuildDebug ¶
func (*Env) BuildStamp ¶
func (*Env) CheckArchitecture ¶
func (*Env) GetFormattedTime ¶
func (*Env) GetUsername ¶
func (*Env) IsCompiled ¶
func (*Env) ListSeparator ¶
func (*Env) PathSeparator ¶
Click to show internal directories.
Click to hide internal directories.