feat: add banner printing functionality to server startup

This commit is contained in:
mlogclub
2026-05-24 20:13:18 +08:00
parent 8bbd6c9414
commit c9ad978da6
3 changed files with 86 additions and 0 deletions
+1
View File
@@ -25,6 +25,7 @@ func NewServer() (*gin.Engine, error) {
cfg := config.Current()
gin.SetMode(gin.ReleaseMode)
printBanner()
app := gin.New()
app.Use(corsMiddleware())