fix: improve documentation of the config object

This commit is contained in:
Vikram Rangnekar
2020-04-23 21:21:45 -04:00
parent 5857efdd70
commit 03fe29b088
11 changed files with 77 additions and 36 deletions

View File

@ -148,12 +148,7 @@ func main() {
log.Fatalf(err)
}
conf, err := config.NewConfig("./config")
if err != nil {
log.Fatalf(err)
}
sg, err = core.NewSuperGraph(conf, db)
sg, err = core.NewSuperGraph(nil, db)
if err != nil {
log.Fatalf(err)
}