Function renaming
Renamed 'GetConfig()' to 'getConfig()', so that it is not exposed outside the package.
This commit is contained in:
parent
027adef642
commit
0ecbe55398
2 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ type loggerConfig struct {
|
|||
Format []string `yaml:"format"`
|
||||
}
|
||||
|
||||
func GetConfig(logConfigFilename string) (*loggerConfig, error) {
|
||||
func getConfig(logConfigFilename string) (*loggerConfig, error) {
|
||||
|
||||
yamlFile, err := ioutil.ReadFile(logConfigFilename)
|
||||
if err != nil {
|
||||
|
|
Reference in a new issue