integration

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RepoRoot

func RepoRoot(t *testing.T) string

RepoRoot returns the root of the genqlient repository,

func RunGenerateTest

func RunGenerateTest(t *testing.T, relConfigFilename string)

RunGenerateTest checks that running genqlient with the given repo-root-relative config file would not produce any changes to the checked-in files.

Types

type AnimalFields

type AnimalFields struct {
	Id    string                     `json:"id,omitempty"`
	Hair  AnimalFieldsHairBeingsHair `json:"hair,omitempty"`
	Owner AnimalFieldsOwnerBeing     `json:"-"`
}

AnimalFields includes the GraphQL fields of Animal requested by the fragment AnimalFields.

func (*AnimalFields) GetHair

GetHair returns AnimalFields.Hair, and is useful for accessing the field via an interface.

func (*AnimalFields) GetId

func (v *AnimalFields) GetId() string

GetId returns AnimalFields.Id, and is useful for accessing the field via an interface.

func (*AnimalFields) GetOwner

func (v *AnimalFields) GetOwner() AnimalFieldsOwnerBeing

GetOwner returns AnimalFields.Owner, and is useful for accessing the field via an interface.

func (*AnimalFields) MarshalJSON

func (v *AnimalFields) MarshalJSON() ([]byte, error)

func (*AnimalFields) UnmarshalJSON

func (v *AnimalFields) UnmarshalJSON(b []byte) error

type AnimalFieldsHairBeingsHair

type AnimalFieldsHairBeingsHair struct {
	HasHair bool `json:"hasHair,omitempty"`
}

AnimalFieldsHairBeingsHair includes the requested fields of the GraphQL type BeingsHair.

func (*AnimalFieldsHairBeingsHair) GetHasHair

func (v *AnimalFieldsHairBeingsHair) GetHasHair() bool

GetHasHair returns AnimalFieldsHairBeingsHair.HasHair, and is useful for accessing the field via an interface.

type AnimalFieldsOwnerAnimal

type AnimalFieldsOwnerAnimal struct {
	Typename string `json:"__typename,omitempty"`
	Id       string `json:"id,omitempty"`
}

AnimalFieldsOwnerAnimal includes the requested fields of the GraphQL type Animal.

func (*AnimalFieldsOwnerAnimal) GetId

func (v *AnimalFieldsOwnerAnimal) GetId() string

GetId returns AnimalFieldsOwnerAnimal.Id, and is useful for accessing the field via an interface.

func (*AnimalFieldsOwnerAnimal) GetTypename

func (v *AnimalFieldsOwnerAnimal) GetTypename() string

GetTypename returns AnimalFieldsOwnerAnimal.Typename, and is useful for accessing the field via an interface.

type AnimalFieldsOwnerBeing

type AnimalFieldsOwnerBeing interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() string
	// GetId returns the interface-field "id" from its implementation.
	GetId() string
	// contains filtered or unexported methods
}

AnimalFieldsOwnerBeing includes the requested fields of the GraphQL interface Being.

AnimalFieldsOwnerBeing is implemented by the following types: AnimalFieldsOwnerAnimal AnimalFieldsOwnerUser

type AnimalFieldsOwnerUser

type AnimalFieldsOwnerUser struct {
	Typename        string `json:"__typename,omitempty"`
	Id              string `json:"id,omitempty"`
	UserFields      `json:"-"`
	LuckyFieldsUser `json:"-"`
}

AnimalFieldsOwnerUser includes the requested fields of the GraphQL type User.

func (*AnimalFieldsOwnerUser) GetHair

GetHair returns AnimalFieldsOwnerUser.Hair, and is useful for accessing the field via an interface.

func (*AnimalFieldsOwnerUser) GetId

func (v *AnimalFieldsOwnerUser) GetId() string

GetId returns AnimalFieldsOwnerUser.Id, and is useful for accessing the field via an interface.

func (*AnimalFieldsOwnerUser) GetLuckyNumber

func (v *AnimalFieldsOwnerUser) GetLuckyNumber() int64

GetLuckyNumber returns AnimalFieldsOwnerUser.LuckyNumber, and is useful for accessing the field via an interface.

func (*AnimalFieldsOwnerUser) GetTypename

func (v *AnimalFieldsOwnerUser) GetTypename() string

GetTypename returns AnimalFieldsOwnerUser.Typename, and is useful for accessing the field via an interface.

func (*AnimalFieldsOwnerUser) MarshalJSON

func (v *AnimalFieldsOwnerUser) MarshalJSON() ([]byte, error)

func (*AnimalFieldsOwnerUser) UnmarshalJSON

func (v *AnimalFieldsOwnerUser) UnmarshalJSON(b []byte) error

type CreateUserResponse

type CreateUserResponse struct {
	CreateUser createUserCreateUser `json:"createUser,omitempty"`
}

CreateUserResponse is returned by createUser on success.

func (*CreateUserResponse) GetCreateUser

func (v *CreateUserResponse) GetCreateUser() createUserCreateUser

GetCreateUser returns CreateUserResponse.CreateUser, and is useful for accessing the field via an interface.

type FailingQueryResponse

type FailingQueryResponse struct {
	Fail bool               `json:"fail,omitempty"`
	Me   failingQueryMeUser `json:"me,omitempty"`
}

FailingQueryResponse is returned by failingQuery on success.

func (*FailingQueryResponse) GetFail

func (v *FailingQueryResponse) GetFail() bool

GetFail returns FailingQueryResponse.Fail, and is useful for accessing the field via an interface.

func (*FailingQueryResponse) GetMe

func (v *FailingQueryResponse) GetMe() failingQueryMeUser

GetMe returns FailingQueryResponse.Me, and is useful for accessing the field via an interface.

type FriendsFields

type FriendsFields struct {
	Id   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

FriendsFields includes the GraphQL fields of User requested by the fragment FriendsFields.

func (*FriendsFields) GetId

func (v *FriendsFields) GetId() string

GetId returns FriendsFields.Id, and is useful for accessing the field via an interface.

func (*FriendsFields) GetName

func (v *FriendsFields) GetName() string

GetName returns FriendsFields.Name, and is useful for accessing the field via an interface.

type InnerBeingFields

type InnerBeingFields interface {

	// GetId returns the interface-field "id" from its implementation.
	GetId() string
	// GetName returns the interface-field "name" from its implementation.
	GetName() string
	// contains filtered or unexported methods
}

InnerBeingFields includes the GraphQL fields of Being requested by the fragment InnerBeingFields.

InnerBeingFields is implemented by the following types: InnerBeingFieldsAnimal InnerBeingFieldsUser

type InnerBeingFieldsAnimal

type InnerBeingFieldsAnimal struct {
	Id   string `json:"id,omitempty"`
	Name string `json:"name,omitempty"`
}

InnerBeingFields includes the GraphQL fields of Animal requested by the fragment InnerBeingFields.

func (*InnerBeingFieldsAnimal) GetId

func (v *InnerBeingFieldsAnimal) GetId() string

GetId returns InnerBeingFieldsAnimal.Id, and is useful for accessing the field via an interface.

func (*InnerBeingFieldsAnimal) GetName

func (v *InnerBeingFieldsAnimal) GetName() string

GetName returns InnerBeingFieldsAnimal.Name, and is useful for accessing the field via an interface.

type InnerBeingFieldsUser

type InnerBeingFieldsUser struct {
	Id      string          `json:"id,omitempty"`
	Name    string          `json:"name,omitempty"`
	Friends []FriendsFields `json:"friends,omitempty"`
}

InnerBeingFields includes the GraphQL fields of User requested by the fragment InnerBeingFields.

func (*InnerBeingFieldsUser) GetFriends

func (v *InnerBeingFieldsUser) GetFriends() []FriendsFields

GetFriends returns InnerBeingFieldsUser.Friends, and is useful for accessing the field via an interface.

func (*InnerBeingFieldsUser) GetId

func (v *InnerBeingFieldsUser) GetId() string

GetId returns InnerBeingFieldsUser.Id, and is useful for accessing the field via an interface.

func (*InnerBeingFieldsUser) GetName

func (v *InnerBeingFieldsUser) GetName() string

GetName returns InnerBeingFieldsUser.Name, and is useful for accessing the field via an interface.

type InnerLuckyFields

type InnerLuckyFields interface {

	// GetLuckyNumber returns the interface-field "luckyNumber" from its implementation.
	GetLuckyNumber() int64
	// contains filtered or unexported methods
}

InnerLuckyFields includes the GraphQL fields of Lucky requested by the fragment InnerLuckyFields.

InnerLuckyFields is implemented by the following types: InnerLuckyFieldsUser

type InnerLuckyFieldsUser

type InnerLuckyFieldsUser struct {
	LuckyNumber int64 `json:"luckyNumber,omitempty"`
}

InnerLuckyFields includes the GraphQL fields of User requested by the fragment InnerLuckyFields.

func (*InnerLuckyFieldsUser) GetLuckyNumber

func (v *InnerLuckyFieldsUser) GetLuckyNumber() int64

GetLuckyNumber returns InnerLuckyFieldsUser.LuckyNumber, and is useful for accessing the field via an interface.

type LuckyFields

type LuckyFields interface {

	// GetLuckyNumber returns the interface-field "luckyNumber" from its implementation.
	GetLuckyNumber() int64
	// contains filtered or unexported methods
}

LuckyFields includes the GraphQL fields of Lucky requested by the fragment LuckyFields.

LuckyFields is implemented by the following types: LuckyFieldsUser

type LuckyFieldsUser

type LuckyFieldsUser struct {
	MoreUserFields `json:"-"`
	LuckyNumber    int64 `json:"luckyNumber,omitempty"`
}

LuckyFields includes the GraphQL fields of User requested by the fragment LuckyFields.

func (*LuckyFieldsUser) GetHair

func (v *LuckyFieldsUser) GetHair() MoreUserFieldsHair

GetHair returns LuckyFieldsUser.Hair, and is useful for accessing the field via an interface.

func (*LuckyFieldsUser) GetId

func (v *LuckyFieldsUser) GetId() string

GetId returns LuckyFieldsUser.Id, and is useful for accessing the field via an interface.

func (*LuckyFieldsUser) GetLuckyNumber

func (v *LuckyFieldsUser) GetLuckyNumber() int64

GetLuckyNumber returns LuckyFieldsUser.LuckyNumber, and is useful for accessing the field via an interface.

func (*LuckyFieldsUser) MarshalJSON

func (v *LuckyFieldsUser) MarshalJSON() ([]byte, error)

func (*LuckyFieldsUser) UnmarshalJSON

func (v *LuckyFieldsUser) UnmarshalJSON(b []byte) error

type MoreUserFields

type MoreUserFields struct {
	Id   string             `json:"id,omitempty"`
	Hair MoreUserFieldsHair `json:"hair,omitempty"`
}

MoreUserFields includes the GraphQL fields of User requested by the fragment MoreUserFields.

func (*MoreUserFields) GetHair

func (v *MoreUserFields) GetHair() MoreUserFieldsHair

GetHair returns MoreUserFields.Hair, and is useful for accessing the field via an interface.

func (*MoreUserFields) GetId

func (v *MoreUserFields) GetId() string

GetId returns MoreUserFields.Id, and is useful for accessing the field via an interface.

type MoreUserFieldsHair

type MoreUserFieldsHair struct {
	Color string `json:"color,omitempty"`
}

MoreUserFieldsHair includes the requested fields of the GraphQL type Hair.

func (*MoreUserFieldsHair) GetColor

func (v *MoreUserFieldsHair) GetColor() string

GetColor returns MoreUserFieldsHair.Color, and is useful for accessing the field via an interface.

type NewUser

type NewUser struct {
	Name string `json:"name,omitempty"`
}

func (*NewUser) GetName

func (v *NewUser) GetName() string

GetName returns NewUser.Name, and is useful for accessing the field via an interface.

type QueryFragment

type QueryFragment struct {
	Beings []QueryFragmentBeingsBeing `json:"-"`
}

QueryFragment includes the GraphQL fields of Query requested by the fragment QueryFragment.

func (*QueryFragment) GetBeings

func (v *QueryFragment) GetBeings() []QueryFragmentBeingsBeing

GetBeings returns QueryFragment.Beings, and is useful for accessing the field via an interface.

func (*QueryFragment) MarshalJSON

func (v *QueryFragment) MarshalJSON() ([]byte, error)

func (*QueryFragment) UnmarshalJSON

func (v *QueryFragment) UnmarshalJSON(b []byte) error

type QueryFragmentBeingsAnimal

type QueryFragmentBeingsAnimal struct {
	Typename string           `json:"__typename,omitempty"`
	Id       string           `json:"id,omitempty"`
	Owner    InnerBeingFields `json:"-"`
}

QueryFragmentBeingsAnimal includes the requested fields of the GraphQL type Animal.

func (*QueryFragmentBeingsAnimal) GetId

func (v *QueryFragmentBeingsAnimal) GetId() string

GetId returns QueryFragmentBeingsAnimal.Id, and is useful for accessing the field via an interface.

func (*QueryFragmentBeingsAnimal) GetOwner

GetOwner returns QueryFragmentBeingsAnimal.Owner, and is useful for accessing the field via an interface.

func (*QueryFragmentBeingsAnimal) GetTypename

func (v *QueryFragmentBeingsAnimal) GetTypename() string

GetTypename returns QueryFragmentBeingsAnimal.Typename, and is useful for accessing the field via an interface.

func (*QueryFragmentBeingsAnimal) MarshalJSON

func (v *QueryFragmentBeingsAnimal) MarshalJSON() ([]byte, error)

func (*QueryFragmentBeingsAnimal) UnmarshalJSON

func (v *QueryFragmentBeingsAnimal) UnmarshalJSON(b []byte) error

type QueryFragmentBeingsBeing

type QueryFragmentBeingsBeing interface {

	// GetTypename returns the receiver's concrete GraphQL type-name (see interface doc for possible values).
	GetTypename() string
	// GetId returns the interface-field "id" from its implementation.
	GetId() string
	// contains filtered or unexported methods
}

QueryFragmentBeingsBeing includes the requested fields of the GraphQL interface Being.

QueryFragmentBeingsBeing is implemented by the following types: QueryFragmentBeingsAnimal QueryFragmentBeingsUser

type QueryFragmentBeingsUser

type QueryFragmentBeingsUser struct {
	Typename             string `json:"__typename,omitempty"`
	Id                   string `json:"id,omitempty"`
	InnerLuckyFieldsUser `json:"-"`
}

QueryFragmentBeingsUser includes the requested fields of the GraphQL type User.

func (*QueryFragmentBeingsUser) GetId

func (v *QueryFragmentBeingsUser) GetId() string

GetId returns QueryFragmentBeingsUser.Id, and is useful for accessing the field via an interface.

func (*QueryFragmentBeingsUser) GetLuckyNumber

func (v *QueryFragmentBeingsUser) GetLuckyNumber() int64

GetLuckyNumber returns QueryFragmentBeingsUser.LuckyNumber, and is useful for accessing the field via an interface.

func (*QueryFragmentBeingsUser) GetTypename

func (v *QueryFragmentBeingsUser) GetTypename() string

GetTypename returns QueryFragmentBeingsUser.Typename, and is useful for accessing the field via an interface.

func (*QueryFragmentBeingsUser) MarshalJSON

func (v *QueryFragmentBeingsUser) MarshalJSON() ([]byte, error)

func (*QueryFragmentBeingsUser) UnmarshalJSON

func (v *QueryFragmentBeingsUser) UnmarshalJSON(b []byte) error

type QueryWithCustomMarshalOptionalResponse

type QueryWithCustomMarshalOptionalResponse struct {
	UserSearch []queryWithCustomMarshalOptionalUserSearchUser `json:"userSearch,omitempty"`
}

QueryWithCustomMarshalOptionalResponse is returned by queryWithCustomMarshalOptional on success.

func (*QueryWithCustomMarshalOptionalResponse) GetUserSearch

func (v *QueryWithCustomMarshalOptionalResponse) GetUserSearch() []queryWithCustomMarshalOptionalUserSearchUser

GetUserSearch returns QueryWithCustomMarshalOptionalResponse.UserSearch, and is useful for accessing the field via an interface.

type QueryWithCustomMarshalResponse

type QueryWithCustomMarshalResponse struct {
	UsersBornOn []queryWithCustomMarshalUsersBornOnUser `json:"usersBornOn,omitempty"`
}

QueryWithCustomMarshalResponse is returned by queryWithCustomMarshal on success.

func (*QueryWithCustomMarshalResponse) GetUsersBornOn

func (v *QueryWithCustomMarshalResponse) GetUsersBornOn() []queryWithCustomMarshalUsersBornOnUser

GetUsersBornOn returns QueryWithCustomMarshalResponse.UsersBornOn, and is useful for accessing the field via an interface.

type QueryWithCustomMarshalSliceResponse

type QueryWithCustomMarshalSliceResponse struct {
	UsersBornOnDates []queryWithCustomMarshalSliceUsersBornOnDatesUser `json:"usersBornOnDates,omitempty"`
}

QueryWithCustomMarshalSliceResponse is returned by queryWithCustomMarshalSlice on success.

func (*QueryWithCustomMarshalSliceResponse) GetUsersBornOnDates

func (v *QueryWithCustomMarshalSliceResponse) GetUsersBornOnDates() []queryWithCustomMarshalSliceUsersBornOnDatesUser

GetUsersBornOnDates returns QueryWithCustomMarshalSliceResponse.UsersBornOnDates, and is useful for accessing the field via an interface.

type QueryWithFragmentsResponse

type QueryWithFragmentsResponse struct {
	Beings []queryWithFragmentsBeingsBeing `json:"-"`
}

QueryWithFragmentsResponse is returned by queryWithFragments on success.

func (*QueryWithFragmentsResponse) GetBeings

func (v *QueryWithFragmentsResponse) GetBeings() []queryWithFragmentsBeingsBeing

GetBeings returns QueryWithFragmentsResponse.Beings, and is useful for accessing the field via an interface.

func (*QueryWithFragmentsResponse) MarshalJSON

func (v *QueryWithFragmentsResponse) MarshalJSON() ([]byte, error)

func (*QueryWithFragmentsResponse) UnmarshalJSON

func (v *QueryWithFragmentsResponse) UnmarshalJSON(b []byte) error

type QueryWithInterfaceListFieldResponse

type QueryWithInterfaceListFieldResponse struct {
	Beings []queryWithInterfaceListFieldBeingsBeing `json:"-"`
}

QueryWithInterfaceListFieldResponse is returned by queryWithInterfaceListField on success.

func (*QueryWithInterfaceListFieldResponse) GetBeings

func (v *QueryWithInterfaceListFieldResponse) GetBeings() []queryWithInterfaceListFieldBeingsBeing

GetBeings returns QueryWithInterfaceListFieldResponse.Beings, and is useful for accessing the field via an interface.

func (*QueryWithInterfaceListFieldResponse) MarshalJSON

func (v *QueryWithInterfaceListFieldResponse) MarshalJSON() ([]byte, error)

func (*QueryWithInterfaceListFieldResponse) UnmarshalJSON

func (v *QueryWithInterfaceListFieldResponse) UnmarshalJSON(b []byte) error

type QueryWithInterfaceListPointerFieldResponse

type QueryWithInterfaceListPointerFieldResponse struct {
	Beings []*queryWithInterfaceListPointerFieldBeingsBeing `json:"-"`
}

QueryWithInterfaceListPointerFieldResponse is returned by queryWithInterfaceListPointerField on success.

func (*QueryWithInterfaceListPointerFieldResponse) GetBeings

func (v *QueryWithInterfaceListPointerFieldResponse) GetBeings() []*queryWithInterfaceListPointerFieldBeingsBeing

GetBeings returns QueryWithInterfaceListPointerFieldResponse.Beings, and is useful for accessing the field via an interface.

func (*QueryWithInterfaceListPointerFieldResponse) MarshalJSON

func (*QueryWithInterfaceListPointerFieldResponse) UnmarshalJSON

type QueryWithInterfaceNoFragmentsResponse

type QueryWithInterfaceNoFragmentsResponse struct {
	Being queryWithInterfaceNoFragmentsBeing  `json:"-"`
	Me    queryWithInterfaceNoFragmentsMeUser `json:"me,omitempty"`
}

QueryWithInterfaceNoFragmentsResponse is returned by queryWithInterfaceNoFragments on success.

func (*QueryWithInterfaceNoFragmentsResponse) GetBeing

func (v *QueryWithInterfaceNoFragmentsResponse) GetBeing() queryWithInterfaceNoFragmentsBeing

GetBeing returns QueryWithInterfaceNoFragmentsResponse.Being, and is useful for accessing the field via an interface.

func (*QueryWithInterfaceNoFragmentsResponse) GetMe

func (v *QueryWithInterfaceNoFragmentsResponse) GetMe() queryWithInterfaceNoFragmentsMeUser

GetMe returns QueryWithInterfaceNoFragmentsResponse.Me, and is useful for accessing the field via an interface.

func (*QueryWithInterfaceNoFragmentsResponse) MarshalJSON

func (v *QueryWithInterfaceNoFragmentsResponse) MarshalJSON() ([]byte, error)

func (*QueryWithInterfaceNoFragmentsResponse) UnmarshalJSON

func (v *QueryWithInterfaceNoFragmentsResponse) UnmarshalJSON(b []byte) error

type QueryWithNamedFragmentsResponse

type QueryWithNamedFragmentsResponse struct {
	Beings []queryWithNamedFragmentsBeingsBeing `json:"-"`
}

QueryWithNamedFragmentsResponse is returned by queryWithNamedFragments on success.

func (*QueryWithNamedFragmentsResponse) GetBeings

func (v *QueryWithNamedFragmentsResponse) GetBeings() []queryWithNamedFragmentsBeingsBeing

GetBeings returns QueryWithNamedFragmentsResponse.Beings, and is useful for accessing the field via an interface.

func (*QueryWithNamedFragmentsResponse) MarshalJSON

func (v *QueryWithNamedFragmentsResponse) MarshalJSON() ([]byte, error)

func (*QueryWithNamedFragmentsResponse) UnmarshalJSON

func (v *QueryWithNamedFragmentsResponse) UnmarshalJSON(b []byte) error

type QueryWithOmitemptyResponse

type QueryWithOmitemptyResponse struct {
	User queryWithOmitemptyUser `json:"user,omitempty"`
}

QueryWithOmitemptyResponse is returned by queryWithOmitempty on success.

func (*QueryWithOmitemptyResponse) GetUser

func (v *QueryWithOmitemptyResponse) GetUser() queryWithOmitemptyUser

GetUser returns QueryWithOmitemptyResponse.User, and is useful for accessing the field via an interface.

type QueryWithVariablesResponse

type QueryWithVariablesResponse struct {
	User queryWithVariablesUser `json:"user,omitempty"`
}

QueryWithVariablesResponse is returned by queryWithVariables on success.

func (*QueryWithVariablesResponse) GetUser

func (v *QueryWithVariablesResponse) GetUser() queryWithVariablesUser

GetUser returns QueryWithVariablesResponse.User, and is useful for accessing the field via an interface.

type SimpleQueryExtResponse

type SimpleQueryExtResponse struct {
	Me simpleQueryExtMeUser `json:"me,omitempty"`
}

SimpleQueryExtResponse is returned by simpleQueryExt on success.

func (*SimpleQueryExtResponse) GetMe

func (v *SimpleQueryExtResponse) GetMe() simpleQueryExtMeUser

GetMe returns SimpleQueryExtResponse.Me, and is useful for accessing the field via an interface.

type SimpleQueryResponse

type SimpleQueryResponse struct {
	Me simpleQueryMeUser `json:"me,omitempty"`
}

SimpleQueryResponse is returned by simpleQuery on success.

func (*SimpleQueryResponse) GetMe

func (v *SimpleQueryResponse) GetMe() simpleQueryMeUser

GetMe returns SimpleQueryResponse.Me, and is useful for accessing the field via an interface.

type Species

type Species string
const (
	SpeciesDog        Species = "DOG"
	SpeciesCoelacanth Species = "COELACANTH"
)

type UserFields

type UserFields struct {
	Id              string `json:"id,omitempty"`
	LuckyFieldsUser `json:"-"`
	MoreUserFields  `json:"-"`
}

UserFields includes the GraphQL fields of User requested by the fragment UserFields.

func (*UserFields) GetHair

func (v *UserFields) GetHair() MoreUserFieldsHair

GetHair returns UserFields.Hair, and is useful for accessing the field via an interface.

func (*UserFields) GetId

func (v *UserFields) GetId() string

GetId returns UserFields.Id, and is useful for accessing the field via an interface.

func (*UserFields) GetLuckyNumber

func (v *UserFields) GetLuckyNumber() int64

GetLuckyNumber returns UserFields.LuckyNumber, and is useful for accessing the field via an interface.

func (*UserFields) MarshalJSON

func (v *UserFields) MarshalJSON() ([]byte, error)

func (*UserFields) UnmarshalJSON

func (v *UserFields) UnmarshalJSON(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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