From 58eca5ea06e83e5d47d350c1a42df7b05a644858 Mon Sep 17 00:00:00 2001 From: Gregory Brzezinski Date: Fri, 11 Nov 2022 15:15:42 +0300 Subject: [PATCH] add domains utils --- domain/domainModels.go | 13 +++++++++++++ domain/domainUtils.go | 15 +++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 domain/domainModels.go create mode 100644 domain/domainUtils.go diff --git a/domain/domainModels.go b/domain/domainModels.go new file mode 100644 index 0000000..5d5efa1 --- /dev/null +++ b/domain/domainModels.go @@ -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 +} diff --git a/domain/domainUtils.go b/domain/domainUtils.go new file mode 100644 index 0000000..939ca6d --- /dev/null +++ b/domain/domainUtils.go @@ -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, +}