Removing DefaultConfig function because there's really no point

This commit is contained in:
Cameron Sparr
2015-08-13 14:25:16 -06:00
parent 4ce61875a4
commit ba1e4917d1
2 changed files with 5 additions and 8 deletions

View File

@@ -253,11 +253,6 @@ func declared(endpoints map[string]*ast.Table) []string {
return names
}
// DefaultConfig returns an empty default configuration
func DefaultConfig() *Config {
return &Config{}
}
var errInvalidConfig = errors.New("invalid configuration")
// LoadConfig loads the given config file and returns a *Config pointer