package graph // This file will be automatically regenerated based on the schema, any resolver implementations // will be copied through when generating and any unknown code will be moved to the end. // Code generated by github.com/99designs/gqlgen version v0.17.39 import ( "context" "github.com/Dan6erbond/sitling/pets/graph/model" ) // Pet is the resolver for the pet field. func (r *queryResolver) Pet(ctx context.Context, id string) (*model.Pet, error) { return &model.Pet{ID: id, Name: "Ace"}, nil } // Query returns QueryResolver implementation. func (r *Resolver) Query() QueryResolver { return &queryResolver{r} } type queryResolver struct{ *Resolver }