feat: add service and model
This commit is contained in:
11
service/game_service.go
Normal file
11
service/game_service.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package service
|
||||
|
||||
import "Game-tycoon/storage/dao"
|
||||
|
||||
type GameService struct {
|
||||
serviceContext
|
||||
}
|
||||
|
||||
func NewGameService(database dao.Database) *GameService {
|
||||
return &GameService{serviceContext{db: database}}
|
||||
}
|
||||
Reference in New Issue
Block a user