Initial commit

This commit contains skeleton of the application with
uber/fx DI library.
This commit is contained in:
Alex Vanin 2019-05-10 11:21:59 +03:00
commit 0507cdb3d1
6 changed files with 115 additions and 0 deletions

View file

@ -0,0 +1,20 @@
package settings
const (
version = "3.0.0"
discordTokenPath = "./tokens/.discordtoken"
)
type (
Settings struct {
Version string
DiscordTokenPath string
}
)
func NewSettings() Settings {
return Settings{
Version: version,
DiscordTokenPath: discordTokenPath,
}
}