config

package
v0.0.0-...-31a4683 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL