Documentation ¶
Index ¶
- Variables
- type Client
- func (client Client) ReturnScalar(ctx context.Context, input bool) (bool, error)
- func (client Client) ReturnScalarNillable(ctx context.Context, input *bool) (*bool, error)
- func (client Client) Simple(ctx context.Context, fields OutputFields) (Output, error)
- func (client Client) SimpleArgument(ctx context.Context, input string, fields OutputFields) (Output, error)
- func (client Client) SimpleArgumentNillable(ctx context.Context, input *string, fields OutputNillableFields) (OutputNillable, error)
- func (client Client) SimpleNillable(ctx context.Context, fields OutputFields) (*Output, error)
- type Output
- type OutputField
- type OutputFieldScalar
- type OutputFields
- type OutputNillable
- type OutputNillableField
- type OutputNillableFieldScalar
- type OutputNillableFields
Constants ¶
This section is empty.
Variables ¶
View Source
var ( OutputFieldInput OutputFieldScalar = "input" OutputNillableFieldInput OutputNillableFieldScalar = "input" )
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client for graphqlclient
func (Client) ReturnScalar ¶
ReturnScalar (query)
func (Client) ReturnScalarNillable ¶
ReturnScalarNillable (query)
func (Client) SimpleArgument ¶
func (client Client) SimpleArgument( ctx context.Context, input string, fields OutputFields, ) (Output, error)
SimpleArgument (query)
func (Client) SimpleArgumentNillable ¶
func (client Client) SimpleArgumentNillable( ctx context.Context, input *string, fields OutputNillableFields, ) (OutputNillable, error)
SimpleArgumentNillable (query)
func (Client) SimpleNillable ¶
SimpleNillable (query)
type OutputField ¶
type OutputField interface {
OutputFieldGraphQL() string
}
type OutputFieldScalar ¶
type OutputFieldScalar string
func (OutputFieldScalar) OutputFieldGraphQL ¶
func (field OutputFieldScalar) OutputFieldGraphQL() string
type OutputFields ¶
type OutputFields []OutputField
type OutputNillable ¶
type OutputNillable struct { // Input Input *string `json:"input"` }
OutputNillable
type OutputNillableField ¶
type OutputNillableField interface {
OutputNillableFieldGraphQL() string
}
type OutputNillableFieldScalar ¶
type OutputNillableFieldScalar string
func (OutputNillableFieldScalar) OutputNillableFieldGraphQL ¶
func (field OutputNillableFieldScalar) OutputNillableFieldGraphQL() string
type OutputNillableFields ¶
type OutputNillableFields []OutputNillableField
Click to show internal directories.
Click to hide internal directories.