Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FromJSON ¶
FromJSON updates val with the information from source, corresponding to a JSON encoding of a struct of type T. NOTE: absent slice and map fields are set to nil, not to empty slices or maps.
func ResolvePath ¶
ResolvePath replace ~/ prefix to produce an absolute path
func ValFromJSON ¶
ValFromJSON builds a struct from a map[string]any, corresponding to JSON encoding of the struct. NOTE: absent slice and map fields are set to nil, not to empty slices or maps.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.