Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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 UnmarshalID ¶
And the same for the unmarshaler
func UnmarshalTimestamp ¶
Unmarshal{Typename} is only required if the scalar appears as an input. The raw values have already been decoded from json into int/float64/bool/nil/map[string]interface/[]interface
Types ¶
type Point ¶
Point is serialized as a simple array, eg [1, 2]
func (Point) MarshalGQL ¶
MarshalGQL implements the graphql.Marshaler interface
func (*Point) UnmarshalGQL ¶
type SearchArgs ¶
type Tier ¶
type Tier uint
A custom enum that uses integers to represent the values in memory but serialize as string for graphql
func TierForStr ¶
func (Tier) MarshalGQL ¶
func (*Tier) UnmarshalGQL ¶
Click to show internal directories.
Click to hide internal directories.