Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarshalID ¶
func MarshalID(id testomitempty.NamedID) graphql.Marshaler
Lets redefine the base ID type to use an id from an external library
func MarshalUint ¶
func MarshalUint(id testomitempty.NamedUint) graphql.Marshaler
Lets redefine the base Uint type to use an id from an external library
func UnmarshalID ¶
func UnmarshalID(v interface{}) (testomitempty.NamedID, error)
And the same for the unmarshaler
func UnmarshalUint ¶
func UnmarshalUint(v interface{}) (testomitempty.NamedUint, error)
And the same for the unmarshaler
Types ¶
type DummyUserWithRemoteNamedBasics ¶
type DummyUserWithRemoteNamedBasics 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.