Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrSelfBin means executable path is unknown. ErrSelfBin = errors.New("env: executable path unknown") )
Functions ¶
This section is empty.
Types ¶
type Env ¶
type Env struct {
Opts *Opts
Plat plat.Plat
Paths *path.Paths
Cfg *base.Cfg
Db *bbolt.DB
State *cmd.State
Ver string
}
Env represents env, used as a registry. State stores cmd state.
Click to show internal directories.
Click to hide internal directories.