From 8e166f100697c5a497aa68349c20a6cb88b5503f Mon Sep 17 00:00:00 2001 From: xengineering Date: Sat, 11 Feb 2023 12:50:08 +0100 Subject: Migrate database to global config struct --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.go') diff --git a/main.go b/main.go index 28e6554..cd32eb0 100644 --- a/main.go +++ b/main.go @@ -10,6 +10,6 @@ var config RuntimeConfig func main() { config = GetRuntimeConfig() log.Printf("Starting ceres with config file '%s'\n", config.Path) - db := InitDatabase(config.Database) + db := InitDatabase() runServer(config.Http, &db) } -- cgit v1.2.3-70-g09d2