Documentation ¶
Index ¶
Constants ¶
View Source
const TagName = "gorethink"
Variables ¶
This section is empty.
Functions ¶
Types ¶
type DecodeFieldError ¶
type DecodeFieldError struct { Key string Type reflect.Type Field reflect.StructField }
An DecodeFieldError describes a object key that led to an unexported (and therefore unwritable) struct field. (No longer used; kept for compatibility.)
func (*DecodeFieldError) Error ¶
func (e *DecodeFieldError) Error() string
type DecodeTypeError ¶
type DecodeTypeError struct { Value string // description of value - "bool", "array", "number -5" Type reflect.Type // type of Go value it could not be assigned to }
An DecodeTypeError describes a value that was not appropriate for a value of a specific Go type.
func (*DecodeTypeError) Error ¶
func (e *DecodeTypeError) Error() string
type FieldMapper ¶
type InvalidDecodeError ¶
An InvalidDecodeError describes an invalid argument passed to Decode. (The argument to Decode must be a non-nil pointer.)
func (*InvalidDecodeError) Error ¶
func (e *InvalidDecodeError) Error() string
type UnsupportedTypeError ¶
An UnsupportedTypeError is returned by Marshal when attempting to encode an unsupported value type.
func (*UnsupportedTypeError) Error ¶
func (e *UnsupportedTypeError) Error() string
type UnsupportedValueError ¶
func (*UnsupportedValueError) Error ¶
func (e *UnsupportedValueError) Error() string
Click to show internal directories.
Click to hide internal directories.