Versions in this module Expand all Collapse all v0 v0.8.0 Aug 15, 2018 Changes in this version + var Default = Env + var ErrEnvDoesNotExist = errors.New("environment does not exist in this environments list") + var ErrEnvNotDefined = errors.New("environment was found but not defined") + var ErrInvalidEnvironmentName = errors.New("environment name cannot be blank") + var ErrNoEnvironmentsDefined = errors.New("no environments defined, nothing to write") + type Conf struct + Envs map[string]*Env + func Load(configPath string) (Conf, error) + func New(configPath string) Conf + func (c *Conf) Get(name string, overrides ...Env) (*Env, error) + func (c *Conf) Set(name string, initial Env, overrides ...Env) (*Env, error) + func (c Conf) Save() error + type Env struct + Directory string + Domain string + IgnoredFiles []string + Ignores []string + Name string + Notify string + Password string + Proxy string + ReadOnly bool + ThemeID string + Timeout time.Duration v0.8.0-prerelease Aug 15, 2018