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 ¶
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 ¶
func (t *GetUserProfileName) GetUser() *GetUserProfileName_User
type GetUserProfileName_User ¶
type GetUserProfileName_User struct {
Profile GetUserProfileName_User_Profile "json:\"profile\" graphql:\"profile\""
}
func (*GetUserProfileName_User) GetProfile ¶
func (t *GetUserProfileName_User) GetProfile() *GetUserProfileName_User_Profile
type GetUserProfileName_User_Profile ¶
type GetUserProfileName_User_Profile struct {
Name string "json:\"name\" graphql:\"name\""
}
func (*GetUserProfileName_User_Profile) GetName ¶
func (t *GetUserProfileName_User_Profile) GetName() string
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
Click to show internal directories.
Click to hide internal directories.