Documentation ¶
Index ¶
- func MarshalDuration(d time.Duration) graphql.Marshaler
- func MarshalFilePath(f string) graphql.Marshaler
- func MarshalTimestamp(t time.Time) graphql.Marshaler
- func UnmarshalDuration(v interface{}) (time.Duration, error)
- func UnmarshalFilePath(v interface{}) (string, error)
- func UnmarshalTimestamp(v interface{}) (time.Time, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalDuration ¶
if the type referenced in .gqlgen.yml is a function that returns a marshaller we can use it to encode and decode onto any existing go type.
func MarshalFilePath ¶
if the type referenced in .gqlgen.yml is a function that returns a marshaller we can use it to encode and decode onto any existing go type.
func MarshalTimestamp ¶
if the type referenced in .gqlgen.yml is a function that returns a marshaller we can use it to encode and decode onto any existing go type.
func UnmarshalDuration ¶
Unmarshal{Typename} is only required if the scalars appears as an input. The raw values have already been decoded from json into int/float64/bool/nil/map[string]interface/[]interface
func UnmarshalFilePath ¶
Unmarshal{Typename} is only required if the scalars appears as an input. The raw values have already been decoded from json into int/float64/bool/nil/map[string]interface/[]interface
func UnmarshalTimestamp ¶
Unmarshal{Typename} is only required if the scalars appears as an input. The raw values have already been decoded from json into int/float64/bool/nil/map[string]interface/[]interface
Types ¶
This section is empty.