gen

package
v0.46.0 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2026 License: MIT Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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