package
Version:
v0.0.0-...-0fe142e
Opens a new window with list of versions in this module.
Published: Aug 1, 2022
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
Creates a new config instance, reading from yaml file
ValidateConfigPath just makes sure, that the path provided is a file,
that can be read
type Config struct {
DiscordToken string `yaml:"discord_token"`
YoutubeKey string `yaml:"youtube_key"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.