summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go9
1 files changed, 3 insertions, 6 deletions
diff --git a/main.go b/main.go
index 4efab32..9df2917 100644
--- a/main.go
+++ b/main.go
@@ -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)
}