package main import ( "log" ) 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) }