Config represents an implementation of the ConfigInterface.
| 49 | |
| 50 | // Config represents an implementation of the ConfigInterface. |
| 51 | type Config struct { |
| 52 | // Section:key=value |
| 53 | data map[string]map[string]string |
| 54 | } |
| 55 | |
| 56 | // NewConfig create an empty configuration representation from file. |
| 57 | func NewConfig(confName string) (ConfigInterface, error) { |
nothing calls this directly
no outgoing calls
no test coverage detected