Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Khan/genqlient
/ functions
Functions
2,231 in github.com/Khan/genqlient
⨍
Functions
2,231
◇
Types & classes
661
↓ 1 callers
Method
fieldContext_Animal_species
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1058
↓ 1 callers
Method
fieldContext_Mutation_createUser
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1273
↓ 1 callers
Method
fieldContext_Query___schema
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1950
↓ 1 callers
Method
fieldContext_Query___type
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1876
↓ 1 callers
Method
fieldContext_Query_being
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1466
↓ 1 callers
Method
fieldContext_Query_beings
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1521
↓ 1 callers
Method
fieldContext_Query_fail
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1835
↓ 1 callers
Method
fieldContext_Query_lotteryWinner
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1573
↓ 1 callers
Method
fieldContext_Query_me
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1341
↓ 1 callers
Method
fieldContext_Query_user
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1398
↓ 1 callers
Method
fieldContext_Query_userSearch
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1767
↓ 1 callers
Method
fieldContext_Query_usersBornOn
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1628
↓ 1 callers
Method
fieldContext_Query_usersBornOnDates
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1699
↓ 1 callers
Method
fieldContext_Subscription_count
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:2022
↓ 1 callers
Method
fieldContext_Subscription_countAuthorized
(_ context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:2080
↓ 1 callers
Method
field_Mutation_createUser_argsInput
( ctx context.Context, rawArgs map[string]interface{}, )
internal/integration/server/gqlgen_exec.go:562
↓ 1 callers
Method
field_Query___type_args
(ctx context.Context, rawArgs map[string]interface{})
internal/integration/server/gqlgen_exec.go:584
↓ 1 callers
Method
field_Query___type_argsName
( ctx context.Context, rawArgs map[string]interface{}, )
internal/integration/server/gqlgen_exec.go:594
↓ 1 callers
Method
field_Query_being_argsID
( ctx context.Context, rawArgs map[string]interface{}, )
internal/integration/server/gqlgen_exec.go:626
↓ 1 callers
Method
field_Query_beings_argsIds
( ctx context.Context, rawArgs map[string]interface{}, )
internal/integration/server/gqlgen_exec.go:658
↓ 1 callers
Method
field_Query_lotteryWinner_argsNumber
( ctx context.Context, rawArgs map[string]interface{}, )
internal/integration/server/gqlgen_exec.go:690
↓ 1 callers
Method
field_Query_userSearch_argsBirthdate
( ctx context.Context, rawArgs map[string]interface{}, )
internal/integration/server/gqlgen_exec.go:727
↓ 1 callers
Method
field_Query_userSearch_argsID
( ctx context.Context, rawArgs map[string]interface{}, )
internal/integration/server/gqlgen_exec.go:749
↓ 1 callers
Method
field_Query_user_argsID
( ctx context.Context, rawArgs map[string]interface{}, )
internal/integration/server/gqlgen_exec.go:781
↓ 1 callers
Method
field_Query_usersBornOnDates_argsDates
( ctx context.Context, rawArgs map[string]interface{}, )
internal/integration/server/gqlgen_exec.go:813
↓ 1 callers
Method
field_Query_usersBornOn_argsDate
( ctx context.Context, rawArgs map[string]interface{}, )
internal/integration/server/gqlgen_exec.go:845
↓ 1 callers
Method
field___Type_enumValues_args
(ctx context.Context, rawArgs map[string]interface{})
internal/integration/server/gqlgen_exec.go:867
↓ 1 callers
Method
field___Type_enumValues_argsIncludeDeprecated
( ctx context.Context, rawArgs map[string]interface{}, )
internal/integration/server/gqlgen_exec.go:877
↓ 1 callers
Method
field___Type_fields_args
(ctx context.Context, rawArgs map[string]interface{})
internal/integration/server/gqlgen_exec.go:899
↓ 1 callers
Method
field___Type_fields_argsIncludeDeprecated
( ctx context.Context, rawArgs map[string]interface{}, )
internal/integration/server/gqlgen_exec.go:909
↓ 1 callers
Method
forEnum
(graphQLTypeName string)
generate/config.go:124
↓ 1 callers
Function
formatCloseMessage
formatCloseMessage formats closeCode and text as a WebSocket close message. An empty message is returned for code CloseNoStatusReceived.
graphql/websocket.go:263
↓ 1 callers
Method
forwardWebSocketData
(message []byte)
graphql/websocket.go:133
↓ 1 callers
Function
getAndValidateQueries
(basedir string, filenames StringList, schema *ast.Schema)
generate/parse.go:74
↓ 1 callers
Function
getAuthToken
(ctx context.Context)
internal/integration/server/server.go:195
↓ 1 callers
Function
getDefaultConfig
(t *testing.T)
generate/generate_test.go:126
↓ 1 callers
Function
getNewID
()
internal/integration/server/server.go:80
↓ 1 callers
Function
getPackageNameAndPath
Try to figure out the package-name and package-path of the given .go file. Returns a best-guess pkgName if possible, even on error.
generate/config.go:147
↓ 1 callers
Function
getQueriesFromGo
(text string, basedir, filename string)
generate/parse.go:183
↓ 1 callers
Function
getSchema
(globs StringList)
generate/parse.go:21
↓ 1 callers
Method
getStructReference
getStructReference decides if a field should be of pointer type and have the omitempty flag set.
generate/convert.go:283
↓ 1 callers
Function
getUser
getUser gets the given user's name from their username.
example/generated.go:83
↓ 1 callers
Function
getViewer
( ctx_ context.Context, client_ graphql.Client, )
example/generated.go:118
↓ 1 callers
Function
goConstName
(s string)
generate/util.go:52
↓ 1 callers
Function
initConfig
(filename string)
generate/config.go:352
↓ 1 callers
Function
interfaceDescription
(typ *goInterfaceType)
generate/description.go:62
↓ 1 callers
Method
introspectSchema
()
internal/integration/server/gqlgen_exec.go:466
↓ 1 callers
Method
introspectType
(name string)
internal/integration/server/gqlgen_exec.go:473
↓ 1 callers
Method
listenWebSocket
()
graphql/websocket.go:115
↓ 1 callers
Function
makeLongTypeName
Like makeTypeName, but append typeName unconditionally. This is used for when you specify a type-name for a field of interface type; we use YourName
generate/names.go:179
↓ 1 callers
Method
marshalNBeing2ᚕgithubᚗcomᚋKhanᚋgenqlientᚋinternalᚋintegrationᚋserverᚐBeing
endregion **************************** object.gotpl **************************** region ***************************** type.gotpl ******************
internal/integration/server/gqlgen_exec.go:5068
↓ 1 callers
Method
marshalNDate2string
(ctx context.Context, sel ast.SelectionSet, v string)
internal/integration/server/gqlgen_exec.go:5126
↓ 1 callers
Method
marshalNSpecies2githubᚗcomᚋKhanᚋgenqlientᚋinternalᚋintegrationᚋserverᚐSpecies
(ctx context.Context, sel ast.SelectionSet, v Species)
internal/integration/server/gqlgen_exec.go:5241
↓ 1 callers
Method
marshalN__Directive2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirective
(ctx context.Context, sel ast.SelectionSet, v introspection.Directive)
internal/integration/server/gqlgen_exec.go:5318
↓ 1 callers
Method
marshalN__Directive2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐDirectiveᚄ
(ctx context.Context, sel ast.SelectionSet, v []introspection.Directive)
internal/integration/server/gqlgen_exec.go:5322
↓ 1 callers
Method
marshalN__DirectiveLocation2string
(ctx context.Context, sel ast.SelectionSet, v string)
internal/integration/server/gqlgen_exec.go:5371
↓ 1 callers
Method
marshalN__DirectiveLocation2ᚕstringᚄ
(ctx context.Context, sel ast.SelectionSet, v []string)
internal/integration/server/gqlgen_exec.go:5398
↓ 1 callers
Method
marshalN__EnumValue2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValue
(ctx context.Context, sel ast.SelectionSet, v introspection.EnumValue)
internal/integration/server/gqlgen_exec.go:5442
↓ 1 callers
Method
marshalN__Field2githubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐField
(ctx context.Context, sel ast.SelectionSet, v introspection.Field)
internal/integration/server/gqlgen_exec.go:5446
↓ 1 callers
Method
marshalN__Type2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐTypeᚄ
(ctx context.Context, sel ast.SelectionSet, v []introspection.Type)
internal/integration/server/gqlgen_exec.go:5502
↓ 1 callers
Method
marshalN__TypeKind2string
(ctx context.Context, sel ast.SelectionSet, v string)
internal/integration/server/gqlgen_exec.go:5561
↓ 1 callers
Method
marshalOBeingsHair2ᚖgithubᚗcomᚋKhanᚋgenqlientᚋinternalᚋintegrationᚋserverᚐBeingsHair
(ctx context.Context, sel ast.SelectionSet, v *BeingsHair)
internal/integration/server/gqlgen_exec.go:5578
↓ 1 callers
Method
marshalOBoolean2ᚖbool
(ctx context.Context, sel ast.SelectionSet, v *bool)
internal/integration/server/gqlgen_exec.go:5603
↓ 1 callers
Method
marshalODate2ᚖstring
(ctx context.Context, sel ast.SelectionSet, v *string)
internal/integration/server/gqlgen_exec.go:5619
↓ 1 callers
Method
marshalOHair2ᚖgithubᚗcomᚋKhanᚋgenqlientᚋinternalᚋintegrationᚋserverᚐHair
(ctx context.Context, sel ast.SelectionSet, v *Hair)
internal/integration/server/gqlgen_exec.go:5627
↓ 1 callers
Method
marshalOInt2ᚖint
(ctx context.Context, sel ast.SelectionSet, v *int)
internal/integration/server/gqlgen_exec.go:5658
↓ 1 callers
Method
marshalOLucky2githubᚗcomᚋKhanᚋgenqlientᚋinternalᚋintegrationᚋserverᚐLucky
(ctx context.Context, sel ast.SelectionSet, v Lucky)
internal/integration/server/gqlgen_exec.go:5666
↓ 1 callers
Method
marshalOMyGreatScalar2ᚖstring
(ctx context.Context, sel ast.SelectionSet, v *string)
internal/integration/server/gqlgen_exec.go:5681
↓ 1 callers
Method
marshalOUser2ᚕᚖgithubᚗcomᚋKhanᚋgenqlientᚋinternalᚋintegrationᚋserverᚐUser
(ctx context.Context, sel ast.SelectionSet, v []*User)
internal/integration/server/gqlgen_exec.go:5705
↓ 1 callers
Method
marshalO__EnumValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐEnumValueᚄ
(ctx context.Context, sel ast.SelectionSet, v []introspection.EnumValue)
internal/integration/server/gqlgen_exec.go:5753
↓ 1 callers
Method
marshalO__Field2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐFieldᚄ
(ctx context.Context, sel ast.SelectionSet, v []introspection.Field)
internal/integration/server/gqlgen_exec.go:5800
↓ 1 callers
Method
marshalO__InputValue2ᚕgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐInputValueᚄ
(ctx context.Context, sel ast.SelectionSet, v []introspection.InputValue)
internal/integration/server/gqlgen_exec.go:5847
↓ 1 callers
Method
marshalO__Schema2ᚖgithubᚗcomᚋ99designsᚋgqlgenᚋgraphqlᚋintrospectionᚐSchema
(ctx context.Context, sel ast.SelectionSet, v *introspection.Schema)
internal/integration/server/gqlgen_exec.go:5894
↓ 1 callers
Method
mergeOperationDirective
merge updates the receiver, which is a directive applied to some node, with the information from the directive applied to the fragment or operation co
generate/genqlient_directive.go:419
↓ 1 callers
Function
newGenerator
( config *Config, schema *ast.Schema, fragments ast.FragmentDefinitionList, )
generate/generate.go:75
↓ 1 callers
Function
parseDirective
(line string, pos *ast.Position)
generate/genqlient_directive.go:527
↓ 1 callers
Method
preprocessQueryDocument
Preprocess each query to make any changes that genqlient needs. At present, the only change is that we add __typename, if not already requested, to e
generate/generate.go:160
↓ 1 callers
Function
query
(s string)
generate/testdata/parsing/fragments.go:28
↓ 1 callers
Function
queryWithFlatten
( ctx_ context.Context, client_ graphql.Client, ids []string, )
internal/integration/generated.go:3424
↓ 1 callers
Function
queryWithFragments
( ctx_ context.Context, client_ graphql.Client, ids []string, )
internal/integration/generated.go:3488
↓ 1 callers
Function
queryWithInterfaceListField
( ctx_ context.Context, client_ graphql.Client, ids []string, )
internal/integration/generated.go:3524
↓ 1 callers
Function
queryWithInterfaceListPointerField
( ctx_ context.Context, client_ graphql.Client, ids []string, )
internal/integration/generated.go:3560
↓ 1 callers
Function
queryWithNamedFragments
( ctx_ context.Context, client_ graphql.Client, ids []string, )
internal/integration/generated.go:3664
↓ 1 callers
Function
readConfigGenerateAndWrite
(configFilename string)
generate/main.go:22
↓ 1 callers
Method
receiveWebSocketConnAck
()
graphql/websocket.go:154
↓ 1 callers
Function
removeComments
(gotWithComments string)
generate/parse_test.go:73
↓ 1 callers
Function
reverse
(slice []string)
generate/util.go:9
↓ 1 callers
Method
roundtripResponse
(resp interface{})
internal/integration/roundtrip.go:74
↓ 1 callers
Method
sendInit
()
graphql/websocket.go:75
↓ 1 callers
Function
simpleQuery
( ctx_ context.Context, client_ graphql.Client, )
internal/integration/generated.go:3773
↓ 1 callers
Function
simpleQueryExt
( ctx_ context.Context, client_ graphql.Client, )
internal/integration/generated.go:3805
↓ 1 callers
Function
snakeToCamel
(s string)
generate/util.go:31
↓ 1 callers
Function
splitFilename
(filename string)
generate/errors.go:37
↓ 1 callers
Function
structDescription
(typ *goStructType)
generate/description.go:42
↓ 1 callers
Method
unmarshalInputNewUser
endregion **************************** field.gotpl ***************************** region **************************** input.gotpl ******************
internal/integration/server/gqlgen_exec.go:4182
↓ 1 callers
Method
unmarshalNDate2ᚕstringᚄ
(ctx context.Context, v interface{})
internal/integration/server/gqlgen_exec.go:5136
↓ 1 callers
Method
unmarshalNID2ᚕstringᚄ
(ctx context.Context, v interface{})
internal/integration/server/gqlgen_exec.go:5183
↓ 1 callers
Method
unmarshalNInt2int
(ctx context.Context, v interface{})
internal/integration/server/gqlgen_exec.go:5215
↓ 1 callers
Method
unmarshalNNewUser2githubᚗcomᚋKhanᚋgenqlientᚋinternalᚋintegrationᚋserverᚐNewUser
(ctx context.Context, v interface{})
internal/integration/server/gqlgen_exec.go:5230
↓ 1 callers
Method
unmarshalN__DirectiveLocation2string
(ctx context.Context, v interface{})
internal/integration/server/gqlgen_exec.go:5366
← previous
next →
501–600 of 2,231, ranked by callers