customer.resolvers.go 1.2 KB

12345678910111213141516171819202122232425262728293031
  1. package customer
  2. // This file will be automatically regenerated based on the schema, any resolver implementations
  3. // will be copied through when generating and any unknown code will be moved to the end.
  4. // Code generated by github.com/99designs/gqlgen version v0.17.21 DO NOT EDIT.
  5. import (
  6. "context"
  7. "fmt"
  8. "gshopper.com/gshopify/admin-api/graph/customer/generated"
  9. )
  10. // CustomerCreate is the resolver for the customerCreate field.
  11. func (r *mutationResolver) CustomerCreate(ctx context.Context, input generated.CustomerInput) (*generated.CustomerCreatePayload, error) {
  12. panic(fmt.Errorf("not implemented: CustomerCreate - customerCreate"))
  13. }
  14. // Customer is the resolver for the customer field.
  15. func (r *queryResolver) Customer(ctx context.Context, id string) (*generated.Customer, error) {
  16. panic(fmt.Errorf("not implemented: Customer - customer"))
  17. }
  18. // Mutation returns generated.MutationResolver implementation.
  19. func (r *Resolver) Mutation() generated.MutationResolver { return &mutationResolver{r} }
  20. // Query returns generated.QueryResolver implementation.
  21. func (r *Resolver) Query() generated.QueryResolver { return &queryResolver{r} }
  22. type mutationResolver struct{ *Resolver }
  23. type queryResolver struct{ *Resolver }