Documentation ¶
Index ¶
- func MarshalFloat32(id testomitempty.NamedFloat32) graphql.Marshaler
- func MarshalID(id testomitempty.NamedID) graphql.Marshaler
- func MarshalUint64(id testomitempty.NamedUint64) graphql.Marshaler
- func UnmarshalFloat32(v interface{}) (testomitempty.NamedFloat32, error)
- func UnmarshalID(v interface{}) (testomitempty.NamedID, error)
- func UnmarshalUint64(v interface{}) (testomitempty.NamedUint64, error)
- type DefinedTypeFromBasics
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalFloat32 ¶
func MarshalFloat32(id testomitempty.NamedFloat32) graphql.Marshaler
Lets redefine the base Float32 type
func MarshalID ¶
func MarshalID(id testomitempty.NamedID) graphql.Marshaler
Lets redefine the base ID type to use an id from an external library
func MarshalUint64 ¶
func MarshalUint64(id testomitempty.NamedUint64) graphql.Marshaler
Lets redefine the base Uint64 type
func UnmarshalFloat32 ¶
func UnmarshalFloat32(v interface{}) (testomitempty.NamedFloat32, error)
And the same for the unmarshaler
func UnmarshalID ¶
func UnmarshalID(v interface{}) (testomitempty.NamedID, error)
And the same for the unmarshaler
func UnmarshalUint64 ¶
func UnmarshalUint64(v interface{}) (testomitempty.NamedUint64, error)
And the same for the unmarshaler
Types ¶
type DefinedTypeFromBasics ¶
type DefinedTypeFromBasics struct { NewString testomitempty.NamedString `json:"newString"` NewInt testomitempty.NamedInt `json:"newInt"` NewInt8 testomitempty.NamedInt8 `json:"newInt8"` NewInt16 testomitempty.NamedInt16 `json:"newInt16"` NewInt32 testomitempty.NamedInt32 `json:"newInt32"` NewInt64 testomitempty.NamedInt64 `json:"newInt64"` NewBool testomitempty.NamedBool `json:"newBool"` NewFloat32 testomitempty.NamedFloat32 `json:"newFloat32"` NewFloat64 testomitempty.NamedFloat64 `json:"newFloat64"` NewUint testomitempty.NamedUint `json:"newUint"` NewUint8 testomitempty.NamedUint8 `json:"newUint8"` NewUint16 testomitempty.NamedUint16 `json:"newUint16"` NewUint32 testomitempty.NamedUint32 `json:"newUint32"` NewUint64 testomitempty.NamedUint64 `json:"newUint64"` NewID testomitempty.NamedID `json:"newID"` }
Click to show internal directories.
Click to hide internal directories.