gen

package
v0.27.4 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const GetUserProfileNameDocument = `query GetUserProfileName {
	user {
		profile {
			name
		}
	}
}
`

Variables

View Source
var DocumentOperationNames = map[string]string{
	GetUserProfileNameDocument: "GetUserProfileName",
}

Functions

This section is empty.

Types

type Client

type Client struct {
	Client *clientv2.Client
}

func (*Client) GetUserProfileName

func (c *Client) GetUserProfileName(ctx context.Context, interceptors ...clientv2.RequestInterceptor) (*GetUserProfileName, error)

type GetUserProfileName

type GetUserProfileName struct {
	User GetUserProfileName_User "json:\"user\" graphql:\"user\""
}

func (*GetUserProfileName) GetUser

type GetUserProfileName_User

type GetUserProfileName_User struct {
	Profile GetUserProfileName_User_Profile "json:\"profile\" graphql:\"profile\""
}

func (*GetUserProfileName_User) GetProfile

type GetUserProfileName_User_Profile

type GetUserProfileName_User_Profile struct {
	Name string "json:\"name\" graphql:\"name\""
}

func (*GetUserProfileName_User_Profile) GetName

type GithubGraphQLClient

type GithubGraphQLClient interface {
	GetUserProfileName(ctx context.Context, interceptors ...clientv2.RequestInterceptor) (*GetUserProfileName, 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