12 lines
207 B
Go
12 lines
207 B
Go
package service
|
|
|
|
import "Game-tycoon/storage/dao"
|
|
|
|
type GameService struct {
|
|
serviceContext
|
|
}
|
|
|
|
func NewGameService(database dao.Database) *GameService {
|
|
return &GameService{serviceContext{db: database}}
|
|
}
|