diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -3,22 +3,19 @@ package main import ( "log" - - "xengineering.eu/ceres/utils" - "xengineering.eu/ceres/web" ) func main() { // read all sources of runtime configuration (e.g. CLI flags and config file) - config := utils.GetRuntimeConfig() + config := GetRuntimeConfig() // print start message log.Printf("Starting ceres with config file '%s'\n", config.Path) // initialize database - db := utils.InitDatabase(config.Database) + db := InitDatabase(config.Database) // start web server - web.RunServer(config.Http, &db) + RunServer(config.Http, &db) } |