Documentation ¶ Index ¶ Variables type Config func NewConfig(env string) (*Config, error) func (c *Config) Get(config string) any func (c *Config) GetInt(config string) int func (c *Config) GetString(config string) string func (c *Config) GetStringSlice(config string) []string Constants ¶ This section is empty. Variables ¶ View Source var ErrParsingConfigFileFail = errors.New("設定ファイルの読み込み中にエラーが発生しました") Functions ¶ This section is empty. Types ¶ type Config ¶ type Config struct { // contains filtered or unexported fields } func NewConfig ¶ func NewConfig(env string) (*Config, error) func (*Config) Get ¶ func (c *Config) Get(config string) any func (*Config) GetInt ¶ func (c *Config) GetInt(config string) int func (*Config) GetString ¶ func (c *Config) GetString(config string) string func (*Config) GetStringSlice ¶ func (c *Config) GetStringSlice(config string) []string Source Files ¶ View all Source files config.go Click to show internal directories. Click to hide internal directories.