register protobuf config loader

pull/314/head
Darien Raymond 2016-10-14 23:42:14 +02:00
parent 35a0ed6fb4
commit 348893a02a
No known key found for this signature in database
GPG Key ID: 7251FFA14BB18169
1 changed files with 4 additions and 0 deletions

View File

@ -34,3 +34,7 @@ func LoadProtobufConfig(input io.Reader) (*Config, error) {
}
return config, nil
}
func init() {
RegisterConfigLoader(ConfigFormat_Protobuf, LoadProtobufConfig)
}