Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PopulateStructFromMap ¶
PopulateStructFromMap fills in a struct pointed to by ptr using values from m. It uses the "url" tag to map keys from m to struct fields. The tag can include an option "base64" (e.g. `url:"name,base64"`) to indicate that the passed data is base64 encoded and should be decoded. When strict is true, an error is returned if m holds a key that is not part of the struct.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.