Skip to content
Permalink
Browse files
Rename method to private
  • Loading branch information
geomacy committed Jul 4, 2017
1 parent 2ec78dd commit 25704c5e4e5e25abacf1b14962bce6b22536e54c
Showing 1 changed file with 2 additions and 2 deletions.
@@ -55,7 +55,7 @@ func GetConfig() (config *Config) {
config.Map = make(map[string]interface{})
config.Write()
}
config.Read()
config.read()
return
}

@@ -79,7 +79,7 @@ func (config *Config) Write() {
enc.Encode(config.Map)
}

func (config *Config) Read() {
func (config *Config) read() {
fileToRead, err := os.Open(config.FilePath)
if err != nil {
error_handler.ErrorExit(err)

0 comments on commit 25704c5

Please sign in to comment.