gen

package
v0.28.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const GetNumberDocument = `query GetNumber ($number: Number!) {
	enumToNum(number: $number)
}
`

Variables

View Source
var DocumentOperationNames = map[string]string{
	GetNumberDocument: "GetNumber",
}

Functions

This section is empty.

Types

type Client

type Client struct {
	Client *clientv2.Client
}

func (*Client) GetNumber

func (c *Client) GetNumber(ctx context.Context, number scalar.Number, interceptors ...clientv2.RequestInterceptor) (*GetNumber, error)

type GetNumber

type GetNumber struct {
	EnumToNum int "json:\"enumToNum\" graphql:\"enumToNum\""
}

func (*GetNumber) GetEnumToNum

func (t *GetNumber) GetEnumToNum() int

type GithubGraphQLClient

type GithubGraphQLClient interface {
	GetNumber(ctx context.Context, number scalar.Number, interceptors ...clientv2.RequestInterceptor) (*GetNumber, error)
}

func NewClient

func NewClient(cli *http.Client, baseURL string, options *clientv2.Options, interceptors ...clientv2.RequestInterceptor) GithubGraphQLClient

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL