Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Khan/genqlient
/ functions
Functions
2,231 in github.com/Khan/genqlient
⨍
Functions
2,231
◇
Types & classes
661
↓ 2 callers
Function
newRoundtripClient
(t *testing.T, endpoint string)
internal/integration/roundtrip.go:129
↓ 2 callers
Function
newRoundtripGetClient
(t *testing.T, endpoint string)
internal/integration/roundtrip.go:139
↓ 2 callers
Function
newRoundtripWebSocketClient
(t *testing.T, endpoint string, opts ...graphql.WebSocketOption)
internal/integration/roundtrip.go:159
↓ 2 callers
Function
queryWithCustomMarshal
( ctx_ context.Context, client_ graphql.Client, date time.Time, )
internal/integration/generated.go:3280
↓ 2 callers
Function
queryWithCustomMarshalOptional
( ctx_ context.Context, client_ graphql.Client, date *time.Time, id *string, )
internal/integration/generated.go:3316
↓ 2 callers
Function
queryWithCustomMarshalSlice
( ctx_ context.Context, client_ graphql.Client, dates []time.Time, )
internal/integration/generated.go:3354
↓ 2 callers
Function
queryWithOmitempty
( ctx_ context.Context, client_ graphql.Client, id string, )
internal/integration/generated.go:3700
↓ 2 callers
Function
queryWithVariables
( ctx_ context.Context, client_ graphql.Client, id string, )
internal/integration/generated.go:3736
↓ 2 callers
Function
selectionsMatch
selectionsMatch recursively compares the two selection-sets, and returns an error if they differ. It does not check arguments and directives, only fi
generate/validation.go:22
↓ 2 callers
Function
sortQueries
(queryDoc *ast.QueryDocument)
generate/parse_test.go:19
↓ 2 callers
Function
testAllSnapshots
( t *testing.T, dir string, testfunc func(t *testing.T, filename string), )
generate/config_test.go:118
↓ 2 callers
Function
typeNameParts
Given a prefix-list, and the next type-name, compute the prefix-list with that type-name added (if applicable). The returned value is not a valid pre
generate/names.go:142
↓ 2 callers
Method
unmarshalNDate2string
(ctx context.Context, v interface{})
internal/integration/server/gqlgen_exec.go:5121
↓ 2 callers
Method
unmarshalNID2string
(ctx context.Context, v interface{})
internal/integration/server/gqlgen_exec.go:5168
↓ 2 callers
Method
unmarshalNString2string
(ctx context.Context, v interface{})
internal/integration/server/gqlgen_exec.go:5245
↓ 2 callers
Method
unmarshalOBoolean2bool
(ctx context.Context, v interface{})
internal/integration/server/gqlgen_exec.go:5585
↓ 2 callers
Method
unmarshalOID2ᚖstring
(ctx context.Context, v interface{})
internal/integration/server/gqlgen_exec.go:5634
↓ 2 callers
Method
unmarshaler
unmarshaler returns: - the name of the function to use to unmarshal this field - true if this is a fully-qualified name (false if it is a package-loca
generate/types.go:214
↓ 2 callers
Function
upperFirst
(s string)
generate/util.go:27
↓ 2 callers
Function
validateStructOption
( typ *ast.Definition, selectionSet ast.SelectionSet, pos *ast.Position, )
generate/genqlient_directive.go:304
↓ 2 callers
Function
withAuthToken
(ctx context.Context, token string)
internal/integration/server/server.go:191
↓ 1 callers
Method
Count
(ctx context.Context)
internal/integration/server/server.go:160
↓ 1 callers
Method
Create
(subscriptionID string, interfaceChan interface{}, forwardDataFunc ForwardDataFunction)
graphql/subscription.go:22
↓ 1 callers
Method
Delete
(subscriptionID string)
graphql/subscription.go:62
↓ 1 callers
Method
Do
(*http.Request)
graphql/client.go:182
↓ 1 callers
Method
FlattenedFields
FlattenedFields returns the fields of this type and its recursive embeds, and the paths to reach them (via those embeds), but with different visibilit
generate/types.go:338
↓ 1 callers
Method
GetAllIDs
()
graphql/subscription.go:53
↓ 1 callers
Function
GetClientFromContext
(ctx context.Context)
internal/testutil/types.go:29
↓ 1 callers
Function
GetClientFromMyContext
(ctx MyContext)
internal/testutil/types.go:30
↓ 1 callers
Function
GetClientFromNowhere
()
internal/testutil/types.go:28
↓ 1 callers
Method
GetLuckyNumber
GetLuckyNumber returns the interface-field "luckyNumber" from its implementation.
internal/integration/generated.go:462
↓ 1 callers
Method
GetPointer
()
generate/genqlient_directive.go:75
↓ 1 callers
Method
GetStruct
()
generate/genqlient_directive.go:77
↓ 1 callers
Method
IsPointer
True if Unwrap() will unwrap a pointer at least once.
generate/types.go:48
↓ 1 callers
Method
IsValid
()
internal/integration/server/gqlgen_models.go:84
↓ 1 callers
Function
Main
Main is the command-line entrypoint to genqlient; it's equivalent to calling go run github.com/Khan/genqlient For lower-level control over genqlien
generate/main.go:76
↓ 1 callers
Method
Mutation
()
internal/integration/server/gqlgen_exec.go:41
↓ 1 callers
Function
NewClientUsingWebSocket
NewClientUsingWebSocket returns a [WebSocketClient] which makes subscription requests to the given endpoint using webSocket. The client does not supp
graphql/client.go:136
↓ 1 callers
Function
NewExecutableSchema
region ************************** generated!.gotpl ************************** NewExecutableSchema creates an ExecutableSchema from the ResolverRoot
internal/integration/server/gqlgen_exec.go:24
↓ 1 callers
Method
PointerIsFalse
()
generate/genqlient_directive.go:76
↓ 1 callers
Method
Read
(subscriptionID string)
graphql/subscription.go:33
↓ 1 callers
Function
ReadAndValidateConfigFromDefaultLocations
ReadAndValidateConfigFromDefaultLocations looks for a config file in the current directory, and all parent directories walking up the tree. The closes
generate/config.go:341
↓ 1 callers
Method
SliceDepth
Count the number of times Unwrap() will unwrap a slice type. For example, given [][][]*MyStruct (or []**[][]*MyStruct, but we never currently generat
generate/types.go:45
↓ 1 callers
Function
Some
(value V)
internal/testutil/types.go:59
↓ 1 callers
Method
String
()
internal/integration/server/gqlgen_models.go:92
↓ 1 callers
Method
UnmarshalGQL
(v interface{})
internal/integration/server/gqlgen_models.go:96
↓ 1 callers
Method
Unsubscribe
(subscriptionID string)
graphql/websocket.go:234
↓ 1 callers
Method
UnsubscribeAll
()
graphql/websocket.go:250
↓ 1 callers
Function
WithConnectionParams
WithConnectionParams sets up connection params to be sent to the server during the initial connection handshake.
graphql/client.go:158
↓ 1 callers
Function
WithWebsocketHeader
WithWebsocketHeader sets a header to be sent to the server.
graphql/client.go:165
↓ 1 callers
Method
WriteDefinition
WriteDefinition writes the code for this type into the given io.Writer. TODO(benkraft): Some of the implementations might now benefit from being conv
generate/types.go:22
↓ 1 callers
Method
WriteTypes
(w io.Writer)
generate/generate.go:97
↓ 1 callers
Method
_Animal_hair
(ctx context.Context, field graphql.CollectedField, obj *Animal)
internal/integration/server/gqlgen_exec.go:1112
↓ 1 callers
Method
_Animal_id
endregion ***************************** args.gotpl ***************************** region ************************** directives.gotpl ***************
internal/integration/server/gqlgen_exec.go:939
↓ 1 callers
Method
_Animal_name
(ctx context.Context, field graphql.CollectedField, obj *Animal)
internal/integration/server/gqlgen_exec.go:983
↓ 1 callers
Method
_Animal_owner
(ctx context.Context, field graphql.CollectedField, obj *Animal)
internal/integration/server/gqlgen_exec.go:1071
↓ 1 callers
Method
_Animal_species
(ctx context.Context, field graphql.CollectedField, obj *Animal)
internal/integration/server/gqlgen_exec.go:1027
↓ 1 callers
Method
_Being
endregion **************************** input.gotpl ***************************** region ************************** interface.gotpl ****************
internal/integration/server/gqlgen_exec.go:4213
↓ 1 callers
Method
_BeingsHair
(ctx context.Context, sel ast.SelectionSet, obj *BeingsHair)
internal/integration/server/gqlgen_exec.go:4311
↓ 1 callers
Method
_BeingsHair_hasHair
(ctx context.Context, field graphql.CollectedField, obj *BeingsHair)
internal/integration/server/gqlgen_exec.go:1157
↓ 1 callers
Method
_Hair
(ctx context.Context, sel ast.SelectionSet, obj *Hair)
internal/integration/server/gqlgen_exec.go:4350
↓ 1 callers
Method
_Hair_color
(ctx context.Context, field graphql.CollectedField, obj *Hair)
internal/integration/server/gqlgen_exec.go:1201
↓ 1 callers
Method
_Lucky
(ctx context.Context, sel ast.SelectionSet, obj Lucky)
internal/integration/server/gqlgen_exec.go:4236
↓ 1 callers
Method
_Mutation
(ctx context.Context, sel ast.SelectionSet)
internal/integration/server/gqlgen_exec.go:4386
↓ 1 callers
Method
_Mutation_createUser
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1242
↓ 1 callers
Method
_Query
(ctx context.Context, sel ast.SelectionSet)
internal/integration/server/gqlgen_exec.go:4435
↓ 1 callers
Method
_Query___schema
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1922
↓ 1 callers
Method
_Query___type
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1848
↓ 1 callers
Method
_Query_being
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1438
↓ 1 callers
Method
_Query_beings
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1490
↓ 1 callers
Method
_Query_fail
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1807
↓ 1 callers
Method
_Query_lotteryWinner
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1545
↓ 1 callers
Method
_Query_me
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1313
↓ 1 callers
Method
_Query_user
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1370
↓ 1 callers
Method
_Query_userSearch
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1739
↓ 1 callers
Method
_Query_usersBornOn
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1597
↓ 1 callers
Method
_Query_usersBornOnDates
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1668
↓ 1 callers
Method
_Subscription
(ctx context.Context, sel ast.SelectionSet)
internal/integration/server/gqlgen_exec.go:4665
↓ 1 callers
Method
_Subscription_count
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:1977
↓ 1 callers
Method
_Subscription_countAuthorized
(ctx context.Context, field graphql.CollectedField)
internal/integration/server/gqlgen_exec.go:2035
↓ 1 callers
Method
_User_birthdate
(ctx context.Context, field graphql.CollectedField, obj *User)
internal/integration/server/gqlgen_exec.go:2267
↓ 1 callers
Method
_User_friends
(ctx context.Context, field graphql.CollectedField, obj *User)
internal/integration/server/gqlgen_exec.go:2308
↓ 1 callers
Method
_User_greatScalar
(ctx context.Context, field graphql.CollectedField, obj *User)
internal/integration/server/gqlgen_exec.go:2368
↓ 1 callers
Method
_User_hair
(ctx context.Context, field graphql.CollectedField, obj *User)
internal/integration/server/gqlgen_exec.go:2222
↓ 1 callers
Method
_User_id
(ctx context.Context, field graphql.CollectedField, obj *User)
internal/integration/server/gqlgen_exec.go:2093
↓ 1 callers
Method
_User_luckyNumber
(ctx context.Context, field graphql.CollectedField, obj *User)
internal/integration/server/gqlgen_exec.go:2181
↓ 1 callers
Method
_User_name
(ctx context.Context, field graphql.CollectedField, obj *User)
internal/integration/server/gqlgen_exec.go:2137
↓ 1 callers
Method
___Directive
(ctx context.Context, sel ast.SelectionSet, obj *introspection.Directive)
internal/integration/server/gqlgen_exec.go:4744
↓ 1 callers
Method
___Directive_args
(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive)
internal/integration/server/gqlgen_exec.go:2538
↓ 1 callers
Method
___Directive_description
(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive)
internal/integration/server/gqlgen_exec.go:2453
↓ 1 callers
Method
___Directive_isRepeatable
(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive)
internal/integration/server/gqlgen_exec.go:2592
↓ 1 callers
Method
___Directive_locations
(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive)
internal/integration/server/gqlgen_exec.go:2494
↓ 1 callers
Method
___Directive_name
(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive)
internal/integration/server/gqlgen_exec.go:2409
↓ 1 callers
Method
___EnumValue
(ctx context.Context, sel ast.SelectionSet, obj *introspection.EnumValue)
internal/integration/server/gqlgen_exec.go:4800
↓ 1 callers
Method
___EnumValue_deprecationReason
(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue)
internal/integration/server/gqlgen_exec.go:2765
↓ 1 callers
Method
___EnumValue_description
(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue)
internal/integration/server/gqlgen_exec.go:2680
↓ 1 callers
Method
___EnumValue_isDeprecated
(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue)
internal/integration/server/gqlgen_exec.go:2721
↓ 1 callers
Method
___EnumValue_name
(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue)
internal/integration/server/gqlgen_exec.go:2636
↓ 1 callers
Method
___Field
(ctx context.Context, sel ast.SelectionSet, obj *introspection.Field)
internal/integration/server/gqlgen_exec.go:4848
↓ 1 callers
Method
___Field_args
(ctx context.Context, field graphql.CollectedField, obj *introspection.Field)
internal/integration/server/gqlgen_exec.go:2891
← previous
next →
201–300 of 2,231, ranked by callers