Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BigInt ¶
BigInt is a custom GraphQL type to represent a big integer. It has to be added to a schema via "scalar BigInt" since it is not a predeclared GraphQL type like "ID".
func (BigInt) ImplementsGraphQLType ¶
ImplementsGraphQLType maps this custom Go type to the graphql scalar type in the schema.
func (BigInt) MarshalJSON ¶
MarshalJSON is a custom marshaler for BigInt
This function will be called whenever you query for fields that use the BigInt type
func (*BigInt) UnmarshalGraphQL ¶
UnmarshalGraphQL is a custom unmarshaler for BigInt
This function will be called whenever you use the BigInt scalar as an input
type Uint64 ¶
type Uint64 uint64
Uint64 is a custom GraphQL type to represent a uint64. It has to be added to a schema via "scalar Uint64" since it is not a predeclared GraphQL type like "ID".
func (Uint64) ImplementsGraphQLType ¶
ImplementsGraphQLType maps this custom Go type to the graphql scalar type in the schema.
func (Uint64) MarshalJSON ¶
MarshalJSON is a custom marshaler for Uint64
This function will be called whenever you query for fields that use the Uint64 type
func (*Uint64) UnmarshalGraphQL ¶
UnmarshalGraphQL is a custom unmarshaler for Uint64
This function will be called whenever you use the Uint64 scalar as an input