package
Version:
v0.0.0-...-39e813e
Opens a new window with list of versions in this module.
Published: Nov 1, 2021
License: Unlicense
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 2
Opens a new window with list of known importers.
Documentation
¶
MapConfig is a tool function wrap MapTo in go-ini
read config in .ini, map them to given struct
ReadConfigFile is a tool function
"path" is path to *.json file
get gjson.Result through *.json path
type Unmarshaler interface {
Unmarshal(res gjson.Result)
}
Unmarshaler is an interface
func (v interface{}) Unmarshal(res gjson.Result)
turn gjson.Result => v(interface{})
Source Files
¶
Click to show internal directories.
Click to hide internal directories.