From afdf8a014236452e098ab1266c9a9315824f8103 Mon Sep 17 00:00:00 2001 From: Julio Capote Date: Mon, 19 Dec 2022 10:41:43 -0500 Subject: url helpers, cgi response format --- main.go | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index fe2bb30..aa92f9f 100644 --- a/main.go +++ b/main.go @@ -30,7 +30,9 @@ func main() { log.Debugf("Loaded TOML Config: %+v", cfg) // DB - db, err := badger.Open(badger.DefaultOptions(cfg.DbPath)) + dbOpts := badger.DefaultOptions(cfg.DbPath) + // dbOpts.Logger = log // TODO needs to adapt Warningf to Warnf + db, err := badger.Open(dbOpts) if err != nil { log.Fatal(err) } -- cgit v1.2.3