package
0.0.0-20240221213944-6b57f5633b5b
Repository: https://github.com/ws6/calculator.git
Documentation: pkg.go.dev

# Packages

Package env is used to parse environment.
No description provided by the author
No description provided by the author
No description provided by the author
Package xml for config provider.
Package yaml for config provider Usage: import( _ "github.com/beego/beego/v2/core/config/yaml" "github.com/beego/beego/v2/core/config" ) cnf, err := config.NewConfig("yaml", "config.yaml").

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DefaultString support section::key type in key string when using ini and json type; Int,Int64,Bool,Float,DIY are same.
DefaultStrings will get string slice.
DIY return the original value.
ExpandValueEnv returns value of convert with environment variable.
ExpandValueEnvForMap convert all string value with environment variable.
No description provided by the author
No description provided by the author
InitGlobalInstance will ini the global instance If you want to use specific implementation, don't forget to import it.
No description provided by the author
No description provided by the author
No description provided by the author
NewConfig adapterName is ini/json/xml/yaml.
NewConfigData adapterName is ini/json/xml/yaml.
NewFakeConfig return a fake Configer.
No description provided by the author
ParseBool returns the boolean value represented by the string.
Register makes a config adapter available by the adapter name.
No description provided by the author
Set support section::key type in given key when using ini type.
String support section::key type in key string when using ini and json type; Int,Int64,Bool,Float,DIY are same.
Strings will get string slice.
No description provided by the author
ToString converts values of any type to string.
No description provided by the author

# Variables

now not all implementation return those error codes.
now not all implementation return those error codes.

# Structs

No description provided by the author
IniConfig implements Config to parse ini file.
IniConfigContainer is a config which represents the ini configuration.

# Interfaces

Config is the adapter interface for parsing config file to get raw data to Configer.
Configer defines how to get and set value from configuration raw data.

# Type aliases

No description provided by the author