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" ) // FindPetByID is the resolver for the findPetByID field. func (r *entityResolver) FindPetByID(ctx context.Context, id string) (*model.Pet, error) { return &model.Pet{ID: id}, nil } // FindUserByID is the resolver for the findUserByID field. func (r *entityResolver) FindUserByID(ctx context.Context, id string) (*model.User, error) { return &model.User{ID: id}, nil } // Entity returns EntityResolver implementation. func (r *Resolver) Entity() EntityResolver { return &entityResolver{r} } type entityResolver struct{ *Resolver }