// Default gives access to a field value. // func (conf *CDConfig) Default(group, name string) (valuer.Valuer, error) { e := conf.loadDefault() if e != nil { return nil, e } return keyfile.NewValuer(conf.def, group, name), nil }
// Valuer gives access to a field value. // func (conf *CDConfig) Valuer(group, name string) valuer.Valuer { return keyfile.NewValuer(&conf.KeyFile, group, name) }