Function renaming

Renamed 'GetConfig()' to 'getConfig()', so that it is not exposed
outside the package.
This commit is contained in:
balandi1 2019-12-09 11:03:40 -05:00
parent 027adef642
commit 0ecbe55398
2 changed files with 2 additions and 2 deletions

View file

@ -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 {