add domains utils
This commit is contained in:
parent
6abccc2e03
commit
58eca5ea06
13
domain/domainModels.go
Normal file
13
domain/domainModels.go
Normal 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
15
domain/domainUtils.go
Normal 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,
|
||||
}
|
Loading…
Reference in New Issue
Block a user