github.com/senomas/gqlgen@v0.17.11-0.20220626120754-9aee61b0716a/plugin/resolvergen/testdata/filetemplate/out/model.go (about)

     1  package customresolver
     2  
     3  import "context"
     4  
     5  type Resolver struct{}
     6  
     7  type QueryResolver interface {
     8  	Resolver(ctx context.Context) (*Resolver, error)
     9  }
    10  
    11  type ResolverResolver interface {
    12  	Name(ctx context.Context, obj *Resolver) (string, error)
    13  }