entity.resolvers.go 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. package shop
  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/shop/generated"
  9. )
  10. // FindAppByID is the resolver for the findAppByID field.
  11. func (r *entityResolver) FindAppByID(ctx context.Context, id string) (*generated.App, error) {
  12. panic(fmt.Errorf("not implemented: FindAppByID - findAppByID"))
  13. }
  14. // FindJobByID is the resolver for the findJobByID field.
  15. func (r *entityResolver) FindJobByID(ctx context.Context, id string) (*generated.Job, error) {
  16. panic(fmt.Errorf("not implemented: FindJobByID - findJobByID"))
  17. }
  18. // FindMarketByID is the resolver for the findMarketByID field.
  19. func (r *entityResolver) FindMarketByID(ctx context.Context, id string) (*generated.Market, error) {
  20. panic(fmt.Errorf("not implemented: FindMarketByID - findMarketByID"))
  21. }
  22. // FindMarketWebPresenceByID is the resolver for the findMarketWebPresenceByID field.
  23. func (r *entityResolver) FindMarketWebPresenceByID(ctx context.Context, id string) (*generated.MarketWebPresence, error) {
  24. panic(fmt.Errorf("not implemented: FindMarketWebPresenceByID - findMarketWebPresenceByID"))
  25. }
  26. // FindShopByID is the resolver for the findShopByID field.
  27. func (r *entityResolver) FindShopByID(ctx context.Context, id string) (*generated.Shop, error) {
  28. panic(fmt.Errorf("not implemented: FindShopByID - findShopByID"))
  29. }
  30. // Entity returns generated.EntityResolver implementation.
  31. func (r *Resolver) Entity() generated.EntityResolver { return &entityResolver{r} }
  32. type entityResolver struct{ *Resolver }