mirror of
https://github.com/kaaninchen/Laterna.git
synced 2026-09-17 19:12:48 +00:00
QoL: Revamp project structure
This commit is contained in:
@@ -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()
|
||||
}
|
||||
Reference in New Issue
Block a user