Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JSONStringArray ¶
type JSONStringArray []string
JSONStringArray is a wrapper around a string array for sql serialization purposes
func (*JSONStringArray) MarshalJSON ¶
func (arr *JSONStringArray) MarshalJSON() ([]byte, error)
MarshalJSON returns the JSON representation
func (*JSONStringArray) Scan ¶
func (arr *JSONStringArray) Scan(src interface{}) error
Scan the src sql type into the passed JSONStringArray
func (*JSONStringArray) UnmarshalJSON ¶
func (arr *JSONStringArray) UnmarshalJSON(data []byte) error
UnmarshalJSON sets the passed JSONStringArray to the value deserialized from JSON
Click to show internal directories.
Click to hide internal directories.