package graph2 import ( "git.aiterp.net/rpdata/api/graph2/queries" graphql "github.com/99designs/gqlgen/graphql" ) //go:generate ./combine.sh //go:generate gorunpkg github.com/99designs/gqlgen -v func New() graphql.ExecutableSchema { return NewExecutableSchema(Config{ Resolvers: &rootResolver{}, }) } type rootResolver struct{} func (r *rootResolver) Query() QueryResolver { return &queries.Resolver }