Documentation
¶
Index ¶
- func MarshalDate(t time.Time) graphql.Marshaler
- func MarshalDateTime(t time.Time) graphql.Marshaler
- func MarshalJSON(j JSON) graphql.Marshaler
- func MarshalNullBoolean(ns null.Bool) graphql.Marshaler
- func MarshalNullDate(t null.Time) graphql.Marshaler
- func MarshalNullDateTime(t null.Time) graphql.Marshaler
- func MarshalNullFloat64(ns null.Float64) graphql.Marshaler
- func MarshalNullInt(ns null.Int) graphql.Marshaler
- func MarshalNullString(ns null.String) graphql.Marshaler
- func UnmarshalDate(v interface{}) (time.Time, error)
- func UnmarshalDateTime(v interface{}) (time.Time, error)
- func UnmarshalNullBoolean(v interface{}) (null.Bool, error)
- func UnmarshalNullDate(v interface{}) (null.Time, error)
- func UnmarshalNullDateTime(v interface{}) (null.Time, error)
- func UnmarshalNullFloat64(v interface{}) (null.Float64, error)
- func UnmarshalNullInt(v interface{}) (null.Int, error)
- func UnmarshalNullString(v interface{}) (null.String, error)
- type JSON
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalJSON ¶ added in v0.3.0
MarshalJSON implements the graphql.Marshaler interface for JSON
func UnmarshalDate ¶
func UnmarshalDateTime ¶
func UnmarshalNullBoolean ¶
func UnmarshalNullDate ¶
func UnmarshalNullDateTime ¶
func UnmarshalNullFloat64 ¶
func UnmarshalNullInt ¶
func UnmarshalNullString ¶
Types ¶
type JSON ¶ added in v0.3.0
type JSON json.RawMessage
JSON represents a custom scalar for raw JSON data
func UnmarshalJSON ¶ added in v0.3.0
UnmarshalJSON implements the graphql.Unmarshaler interface for JSON
Click to show internal directories.
Click to hide internal directories.