move moonshark to core

This commit is contained in:
Sky Johnson 2025-04-04 10:50:07 -05:00
parent 0a18167df7
commit cac1b8cf92
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,4 @@
package main
package core
import (
"context"

View File

@ -6,6 +6,7 @@ import (
"os/signal"
"syscall"
"git.sharkk.net/Sky/Moonshark/core"
"git.sharkk.net/Sky/Moonshark/core/logger"
)
@ -13,7 +14,7 @@ func main() {
logger.InitGlobalLogger(logger.LevelDebug, true, false)
logger.Server("Moonshark is starting to prowl 🦈")
server, err := NewMoonshark("config.lua")
server, err := core.NewMoonshark("config.lua")
if err != nil {
logger.Fatal("Failed to initialize server: %v", err)
}