package
Version:
v0.0.0-...-a7177cb
Opens a new window with list of versions in this module.
Published: Jan 21, 2023
License: BSD-2-Clause
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Unmarshal unmarshals the given file into v.
It accepts yaml files.
type AuthConfig struct {
Token string `yaml:"token"`
Database string `yaml:"database"`
}
type DiscordConfig struct {
OverwriteCommands bool `yaml:"overwrite_commands"`
CommandsGuild discord.GuildID `yaml:"commands_guild"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.