Files
Crimson-Gatekeeper/srv/cmd/gatekeeper/main.go

18 lines
302 B
Go
Raw Normal View History

2026-01-13 00:08:49 +08:00
package main
2026-01-21 17:44:51 +08:00
import (
2026-01-22 11:31:04 +08:00
"Crimson-Gatekeeper/internal/database"
2026-01-22 00:12:24 +08:00
"Crimson-Gatekeeper/internal/route"
2026-01-21 17:44:51 +08:00
"github.com/go-spring/spring-core/gs"
)
type Test struct{}
2026-01-21 17:44:51 +08:00
func main() {
2026-01-22 11:31:04 +08:00
gs.Provide(database.GetDataBaseClient)
gs.Provide(database.GetQuery)
2026-01-22 00:12:24 +08:00
gs.Provide(route.NewTestBoot).AsRunner()
gs.Run()
2026-01-21 17:44:51 +08:00
}