diff options
author | xengineering <me@xengineering.eu> | 2023-02-11 12:50:08 +0100 |
---|---|---|
committer | xengineering <me@xengineering.eu> | 2023-02-11 12:50:08 +0100 |
commit | 8e166f100697c5a497aa68349c20a6cb88b5503f (patch) | |
tree | 9d8e73ed61e5cf398cff07e3b50ea3ce588ddaa8 /main.go | |
parent | 8bc32d9b5ab404c002e0e0d1f4063a6442ade002 (diff) | |
download | ceres-8e166f100697c5a497aa68349c20a6cb88b5503f.tar ceres-8e166f100697c5a497aa68349c20a6cb88b5503f.tar.zst ceres-8e166f100697c5a497aa68349c20a6cb88b5503f.zip |
Migrate database to global config struct
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) } |