Documentation ¶
Index ¶
- Variables
- type JSON
- func (j JSON) MarshalJSON() ([]byte, error)
- func (j JSON) MarshalYAML() (interface{}, error)
- func (j *JSON) Scan(src interface{}) error
- func (j *JSON) Unmarshal(v interface{}) error
- func (j *JSON) UnmarshalJSON(data []byte) error
- func (j *JSON) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (j JSON) Value() (driver.Value, error)
- type UUID
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrJSONInvalid = errors.New("json_invalid")
)
Functions ¶
This section is empty.
Types ¶
type JSON ¶
type JSON struct { JSON json.RawMessage Valid bool }
func (JSON) MarshalJSON ¶ added in v0.1.2
func (JSON) MarshalYAML ¶
func (*JSON) UnmarshalJSON ¶ added in v0.1.2
func (*JSON) UnmarshalYAML ¶
type UUID ¶
func (UUID) MarshalJSON ¶ added in v0.1.2
func (*UUID) UnmarshalJSON ¶ added in v0.1.2
func (*UUID) UnmarshalText ¶ added in v0.1.2
func (*UUID) UnmarshalYAML ¶ added in v0.1.2
Click to show internal directories.
Click to hide internal directories.