Documentation ¶
Index ¶
- func Bind(v interface{}, data maps.Map, vars ...*regexp.Regexp) interface{}
- func EnvInt(key interface{}, defaults ...int) int
- func EnvString(key interface{}, defaults ...string) string
- func ReadFile(file io.Reader) ([]byte, error)
- func ReadFileString(file io.Reader) (string, error)
- func UnmarshalFile(file io.Reader, v interface{}) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReadFileString ¶
ReadFileString 读取文件内容, 返回String
func UnmarshalFile ¶
UnmarshalFile JSON Unmarshal
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.