summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-02-11 12:42:17 +0100
committerxengineering <me@xengineering.eu>2023-02-11 12:42:17 +0100
commit8bc32d9b5ab404c002e0e0d1f4063a6442ade002 (patch)
tree402e504399aa11e7ca97078795e70bfd97630cd3 /main.go
parent817f15a79f2960101644cd282703e9439aef082f (diff)
downloadceres-8bc32d9b5ab404c002e0e0d1f4063a6442ade002.tar
ceres-8bc32d9b5ab404c002e0e0d1f4063a6442ade002.tar.zst
ceres-8bc32d9b5ab404c002e0e0d1f4063a6442ade002.zip
Remove obvious comments from main.go
Diffstat (limited to 'main.go')
-rw-r--r--main.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/main.go b/main.go
index 11cbf7c..28e6554 100644
--- a/main.go
+++ b/main.go
@@ -8,16 +8,8 @@ import (
var config RuntimeConfig
func main() {
-
- // read all sources of runtime configuration (e.g. CLI flags and config file)
config = GetRuntimeConfig()
-
- // print start message
log.Printf("Starting ceres with config file '%s'\n", config.Path)
-
- // initialize database
db := InitDatabase(config.Database)
-
- // start web server
runServer(config.Http, &db)
}