add domains utils

This commit is contained in:
Gregory Brzezinski 2022-11-11 15:15:42 +03:00
parent 6abccc2e03
commit 58eca5ea06
2 changed files with 28 additions and 0 deletions

13
domain/domainModels.go Normal file
View File

@ -0,0 +1,13 @@
package domainUtils
import "git.gregbrzezinski.com/Skirda/skirdagoutils/gameUtils"
type Domain struct {
DiscordGroupID string
Games gameUtils.Games
Sessions gameUtils.Sessions
}
type Domains struct {
Domains []Domain
}

15
domain/domainUtils.go Normal file
View File

@ -0,0 +1,15 @@
package domainUtils
import "git.gregbrzezinski.com/Skirda/skirdagoutils/gameUtils"
var fakeDomains = Domains{
Domains: []Domain{defaultDomain},
}
var defaultDomain = Domain{
DiscordGroupID: "0",
Games: gameUtils.Games{
SteamGames: gameUtils.SteamFakeGamesList,
},
Sessions: gameUtils.FakeSessions,
}