Update functions that return error to not return pointer

* Matches Golang convention
This commit is contained in:
Eric Meyer committed 2017-12-04 10:34:49 -06:00
1 parent f46891f732
commit 486fdc10e4
7 files changed
+24 -24

No files matched your search

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