Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FlattenRow ¶
func FlattenRow(row optimus.Row) (optimus.Row, error)
FlattenRow takes a Row of nested maps and converts it into a flat Row, with the keys deepened. For example, {"key1": {"key2": "val"}} would become {"key1.key2": "val"}.
func NewGet ¶
NewGet creates a Table that reads a single object from Clever's API, using the specified parameters.
func NewList ¶
NewList creates a Table that reads from Clever's Paged API, using the specified parameters.
func StringifyArrayVals ¶
func StringifyArrayVals(row optimus.Row) (optimus.Row, error)
StringifyArrayVals takes a Row and converts any arrays in the values into a JSON-marshalled representation of the array.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.