Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CodeLocation ¶ added in v1.0.1
func CodeLocation() string
CodeLocation just call this function and you will get func name, file path, and line number of code
func FromMap ¶
func FromMap(data interface{}, path string) (result interface{})
FromMap extract value from map[string]interface{}, path for define nested json: key, key.key, key.key.key, and so on example path: foo for single key or without nested, foo.bar for 1 nested, foo.bar.baz for 2 nested, and so on
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.