QoL: Revamp project structure

This commit is contained in:
Mitsu
2025-07-07 22:10:10 +02:00
parent 3a50568113
commit bdce29a129
15 changed files with 57 additions and 41 deletions
+16
View File
@@ -0,0 +1,16 @@
package main
import (
"github.com/mizuw/laterna/server/cmd/internal/config"
"github.com/mizuw/laterna/server/cmd/internal/db"
"github.com/mizuw/laterna/server/cmd/internal/http"
"github.com/mizuw/laterna/server/cmd/internal/logger"
)
func main() {
config.AppConfig = config.LoadConfig("config.json")
logger.InitLoggers()
go db.ConnectDB()
http.StartHTTPServer()
}