Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var NullableBoolField = &graphqlgo.Field{ Type: graphqlgo.Boolean, Resolve: ResolveNullable, }
NullableBoolField field for nullable bool
View Source
var NullableDateTimeField = &graphqlgo.Field{ Type: graphqlgo.DateTime, Resolve: ResolveNullable, }
NullableTimeField field for nullable datetime
View Source
var NullableFloat64Field = &graphqlgo.Field{ Type: graphqlgo.Float, Resolve: ResolveNullable, }
NullableFloat64Field field for nullable float64
View Source
var NullableInt64Field = &graphqlgo.Field{ Type: graphqlgo.Int, Resolve: ResolveNullable, }
NullableInt64Field field for nullable int64
View Source
var NullableStringField = &graphqlgo.Field{ Type: graphqlgo.String, Resolve: ResolveNullable, }
NullableStringField field for nullable string
Functions ¶
func ResolveNullable ¶
func ResolveNullable(p graphqlgo.ResolveParams) (result interface{}, err error)
ResolveNullable resolve the null field for any type in the struct
Types ¶
Click to show internal directories.
Click to hide internal directories.