Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalString ¶
Marshal marshals the provided struct into a raw query string and returns a conditional error
Types ¶
type ComparativeTime ¶
ComparativeTime is a field that can be used for specifying a query parameter which includes a conditional operator and a timestamp
func NewComparativeTime ¶
func NewComparativeTime() *ComparativeTime
NewComparativeTime returns a new ComparativeTime instance with a default operator of "="
func (*ComparativeTime) Parse ¶
func (c *ComparativeTime) Parse(query string) error
Parse is used to parse a query string into a ComparativeTime instance
func (ComparativeTime) String ¶
func (c ComparativeTime) String() string
String returns this ComparativeTime instance in the form of the query parameter that it came in on
type InvalidMarshalError ¶
An InvalidMarshalError describes an invalid argument passed to Marshal or MarshalValue. (The argument to Marshal must be a non-nil pointer.)
func (InvalidMarshalError) Error ¶
func (e InvalidMarshalError) Error() string
type Marshaller ¶
Marshaller defines the interface for performing custom marshalling of struct values into query strings