gen

package
v0.33.1 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const ADocument = `` /* 232-byte string literal not displayed */

Variables

View Source
var DocumentOperationNames = map[string]string{
	ADocument: "A",
}

Functions

This section is empty.

Types

type A

type A struct {
	User A_User "json:\"user\" graphql:\"user\""
}

func (*A) GetUser

func (t *A) GetUser() *A_User

type A_User

type A_User struct {
	ID      string          "json:\"id\" graphql:\"id\""
	Profile *A_User_Profile "json:\"profile\" graphql:\"profile\""
}

func (*A_User) GetID

func (t *A_User) GetID() string

func (*A_User) GetProfile

func (t *A_User) GetProfile() *A_User_Profile

type A_User_Profile

type A_User_Profile struct {
	ProfileFragment *ProfileFragment
	ID              string "json:\"id\" graphql:\"id\""
	Name            string "json:\"name\" graphql:\"name\""
}

func (*A_User_Profile) GetID

func (t *A_User_Profile) GetID() string

func (*A_User_Profile) GetName

func (t *A_User_Profile) GetName() string

func (*A_User_Profile) GetProfileFragment

func (t *A_User_Profile) GetProfileFragment() *ProfileFragment

type Client

type Client struct {
	Client *clientv2.Client
}

func NewClient

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

func (*Client) A

func (c *Client) A(ctx context.Context, input model.UserInput, interceptors ...clientv2.RequestInterceptor) (*A, error)

type ProfileFragment

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

func (*ProfileFragment) GetName

func (t *ProfileFragment) GetName() string

type UserFragment

type UserFragment struct {
	Profile *UserFragment_Profile "json:\"profile\" graphql:\"profile\""
}

func (*UserFragment) GetProfile

func (t *UserFragment) GetProfile() *UserFragment_Profile

type UserFragment_Profile

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

func (*UserFragment_Profile) GetName

func (t *UserFragment_Profile) GetName() string

Jump to

Keyboard shortcuts

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