New returns a new Config initialized with defaults.
()
| 147 | |
| 148 | // New returns a new Config initialized with defaults. |
| 149 | func New() *Config { |
| 150 | return DefaultConfig.Copy() |
| 151 | } |
| 152 | |
| 153 | // NewFromKiteKey parses the given kite key file and gives a new Config value. |
| 154 | func NewFromKiteKey(file string) (*Config, error) { |