mirror of
https://github.com/github/codeql.git
synced 2026-04-26 01:05:15 +02:00
retab generated.go
This commit is contained in:
@@ -3,22 +3,22 @@
|
||||
package graph
|
||||
|
||||
import (
|
||||
"context"
|
||||
"pwntester/gqlgen-todos/graph/model"
|
||||
"context"
|
||||
"pwntester/gqlgen-todos/graph/model"
|
||||
|
||||
"github.com/99designs/gqlgen/graphql"
|
||||
"github.com/99designs/gqlgen/graphql"
|
||||
)
|
||||
|
||||
type ResolverRoot interface {
|
||||
Mutation() MutationResolver
|
||||
Query() QueryResolver
|
||||
Mutation() MutationResolver
|
||||
Query() QueryResolver
|
||||
}
|
||||
|
||||
type MutationResolver interface {
|
||||
CreateTodo(ctx context.Context, input model.NewTodo) (*model.Todo, error)
|
||||
CreateTodo(ctx context.Context, input model.NewTodo) (*model.Todo, error)
|
||||
}
|
||||
type QueryResolver interface {
|
||||
Todos(ctx context.Context) ([]*model.Todo, error)
|
||||
Todos(ctx context.Context) ([]*model.Todo, error)
|
||||
}
|
||||
|
||||
func stub(dg graphql.CollectedField) {
|
||||
|
||||
Reference in New Issue
Block a user