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.
Directories ¶
Path | Synopsis |
---|---|
Package build contains internal methods for building request parts: query string, headers, body.
|
Package build contains internal methods for building request parts: query string, headers, body. |
Package extract contains functions for extracting JSON results into given structure or slice pointers.
|
Package extract contains functions for extracting JSON results into given structure or slice pointers. |
Package multierr contains simple implementation of multiple error handling.
|
Package multierr contains simple implementation of multiple error handling. |
Click to show internal directories.
Click to hide internal directories.