Update functions that return error to not return pointer

* Matches Golang convention
This commit is contained in:
Eric Meyer
2017-12-04 10:34:49 -06:00
parent f46891f732
commit 486fdc10e4
7 changed files with 24 additions and 24 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ func LoadConfig(environment string) config.Config {
if err != nil {
log.Fatalf("Error loading config\n%v", err)
}
return *cfg
return cfg
}
func LoadPostgres(database config.Database) repositories.Postgres {