-
Notifications
You must be signed in to change notification settings - Fork 1
/
stub.go
37 lines (30 loc) · 1.17 KB
/
stub.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
// Code generated by github.com/99designs/gqlgen, DO NOT EDIT.
package gql1
import (
"context"
"github.com/Warashi/compgen/complexitytest/calculation/gql1/model"
)
type Stub struct {
QueryResolver struct {
Foo func(ctx context.Context, a *int, b int, c *int) (*model.FooConnection, error)
Bar func(ctx context.Context, a *int, b int, c *int) (*model.FooConnection, error)
Baz func(ctx context.Context, ids []string) (*model.FooConnection, error)
Bazz func(ctx context.Context, ids []string) (*model.FooConnection, error)
}
}
func (r *Stub) Query() QueryResolver {
return &stubQuery{r}
}
type stubQuery struct{ *Stub }
func (r *stubQuery) Foo(ctx context.Context, a *int, b int, c *int) (*model.FooConnection, error) {
return r.QueryResolver.Foo(ctx, a, b, c)
}
func (r *stubQuery) Bar(ctx context.Context, a *int, b int, c *int) (*model.FooConnection, error) {
return r.QueryResolver.Bar(ctx, a, b, c)
}
func (r *stubQuery) Baz(ctx context.Context, ids []string) (*model.FooConnection, error) {
return r.QueryResolver.Baz(ctx, ids)
}
func (r *stubQuery) Bazz(ctx context.Context, ids []string) (*model.FooConnection, error) {
return r.QueryResolver.Bazz(ctx, ids)
}