Documentation
¶
Overview ¶
Package codegen generates code to make using this library easier You can currently use the code generator to generate go structs and Unmarshal methods for Directives and Input Objects type definitions This helps you interact very easily with configuration supplied by Directives which you can easily unmarshal into go structs
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DataSourceConfig ¶
type DataSourceConfig struct {
NonNullString string
NullableString *string
NonNullInt int64
NullableInt *int64
NonNullBoolean bool
NullableBoolean *bool
NonNullFloat float32
NullableFloat *float32
NullableListOfNullableString *[]*string
NonNullListOfNullableString []*string
NonNullListOfNonNullString []string
NullableListOfNullableHeader *[]*Header
NonNullListOfNullableHeader []*Header
NonNullListOfNonNullParameter []Parameter
Methods Methods
NullableStringWithDefault string
NonNullStringWithDefault string
IntWithDefault int64
FloatWithDefault float32
BooleanWithDefault bool
StringWithDefaultOverride string
InputWithDefaultChildField InputWithDefault
}
type HTTP_METHOD ¶
type HTTP_METHOD int
const ( UNDEFINED_HTTP_METHOD HTTP_METHOD = iota HTTP_METHOD_GET HTTP_METHOD_POST HTTP_METHOD_UPDATE HTTP_METHOD_DELETE )
type InputWithDefault ¶
type Methods ¶
type Methods struct {
List []HTTP_METHOD
}
type PARAMETER_SOURCE ¶
type PARAMETER_SOURCE int
const ( UNDEFINED_PARAMETER_SOURCE PARAMETER_SOURCE = iota PARAMETER_SOURCE_CONTEXT_VARIABLE PARAMETER_SOURCE_OBJECT_VARIABLE_ARGUMENT PARAMETER_SOURCE_FIELD_ARGUMENTS )
Click to show internal directories.
Click to hide internal directories.