clevertable

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 9, 2016 License: Apache-2.0 Imports: 4 Imported by: 1

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

func NewGet(endpoint string, id string, clever *clevergo.Clever) optimus.Table

NewGet creates a Table that reads a single object from Clever's API, using the specified parameters.

func NewList

func NewList(endpoint string, params url.Values, clever *clevergo.Clever) optimus.Table

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL