summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2023-02-09 21:54:40 +0100
committerxengineering <me@xengineering.eu>2023-02-09 21:55:36 +0100
commit5c41fda52bfe6c0ab898a284ed9373f12a04c92b (patch)
tree31849181f8af554e6aa1eb597ac8901b3b2bff45 /main.go
parent4f0c5b2e5eb1277e6b5a6ba347ce08fd34cf1326 (diff)
downloadceres-5c41fda52bfe6c0ab898a284ed9373f12a04c92b.tar
ceres-5c41fda52bfe6c0ab898a284ed9373f12a04c92b.tar.zst
ceres-5c41fda52bfe6c0ab898a284ed9373f12a04c92b.zip
Split setupRoutes() and runServer()
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 9df2917..582c0cc 100644
--- a/main.go
+++ b/main.go
@@ -17,5 +17,5 @@ func main() {
db := InitDatabase(config.Database)
// start web server
- RunServer(config.Http, &db)
+ runServer(config.Http, &db)
}