Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RemainingKeys ¶
RemainingKeys will inspect a struct and compare it to a map. Any struct field that does not have a JSON tag that matches a key in the map or a matching lower-case field in the map will be returned as an extra.
This is useful for determining the extra fields returned in response bodies for resources that can contain an arbitrary or dynamic number of fields.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.