Documentation ¶
Index ¶
- type SubscriptionDeleter
- type SubscriptionLoader
- func (_m *SubscriptionLoader) GetSubscriptionByCategories(categories []string) ([]models.Subscription, error)
- func (_m *SubscriptionLoader) GetSubscriptionById(id string) (models.Subscription, error)
- func (_m *SubscriptionLoader) GetSubscriptionBySlug(slug string) (models.Subscription, error)
- func (_m *SubscriptionLoader) GetSubscriptions() ([]models.Subscription, error)
- type SubscriptionUpdater
- func (_m *SubscriptionUpdater) GetSubscriptionByCategories(categories []string) ([]models.Subscription, error)
- func (_m *SubscriptionUpdater) GetSubscriptionById(id string) (models.Subscription, error)
- func (_m *SubscriptionUpdater) GetSubscriptionBySlug(slug string) (models.Subscription, error)
- func (_m *SubscriptionUpdater) GetSubscriptions() ([]models.Subscription, error)
- func (_m *SubscriptionUpdater) UpdateSubscription(s models.Subscription) error
- type SubscriptionWriter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SubscriptionDeleter ¶
SubscriptionDeleter is an autogenerated mock type for the SubscriptionDeleter type
func (*SubscriptionDeleter) DeleteSubscriptionById ¶
func (_m *SubscriptionDeleter) DeleteSubscriptionById(id string) error
DeleteSubscriptionById provides a mock function with given fields: id
func (*SubscriptionDeleter) DeleteSubscriptionBySlug ¶
func (_m *SubscriptionDeleter) DeleteSubscriptionBySlug(id string) error
DeleteSubscriptionBySlug provides a mock function with given fields: id
type SubscriptionLoader ¶
SubscriptionLoader is an autogenerated mock type for the SubscriptionLoader type
func (*SubscriptionLoader) GetSubscriptionByCategories ¶
func (_m *SubscriptionLoader) GetSubscriptionByCategories(categories []string) ([]models.Subscription, error)
GetSubscriptionByCategories provides a mock function with given fields: categories
func (*SubscriptionLoader) GetSubscriptionById ¶
func (_m *SubscriptionLoader) GetSubscriptionById(id string) (models.Subscription, error)
GetSubscriptionById provides a mock function with given fields: id
func (*SubscriptionLoader) GetSubscriptionBySlug ¶
func (_m *SubscriptionLoader) GetSubscriptionBySlug(slug string) (models.Subscription, error)
GetSubscriptionBySlug provides a mock function with given fields: slug
func (*SubscriptionLoader) GetSubscriptions ¶
func (_m *SubscriptionLoader) GetSubscriptions() ([]models.Subscription, error)
GetSubscriptions provides a mock function with given fields:
type SubscriptionUpdater ¶
SubscriptionUpdater is an autogenerated mock type for the SubscriptionUpdater type
func (*SubscriptionUpdater) GetSubscriptionByCategories ¶
func (_m *SubscriptionUpdater) GetSubscriptionByCategories(categories []string) ([]models.Subscription, error)
GetSubscriptionByCategories provides a mock function with given fields: categories
func (*SubscriptionUpdater) GetSubscriptionById ¶
func (_m *SubscriptionUpdater) GetSubscriptionById(id string) (models.Subscription, error)
GetSubscriptionById provides a mock function with given fields: id
func (*SubscriptionUpdater) GetSubscriptionBySlug ¶
func (_m *SubscriptionUpdater) GetSubscriptionBySlug(slug string) (models.Subscription, error)
GetSubscriptionBySlug provides a mock function with given fields: slug
func (*SubscriptionUpdater) GetSubscriptions ¶
func (_m *SubscriptionUpdater) GetSubscriptions() ([]models.Subscription, error)
GetSubscriptions provides a mock function with given fields:
func (*SubscriptionUpdater) UpdateSubscription ¶
func (_m *SubscriptionUpdater) UpdateSubscription(s models.Subscription) error
UpdateSubscription provides a mock function with given fields: s
type SubscriptionWriter ¶
SubscriptionWriter is an autogenerated mock type for the SubscriptionWriter type
func (*SubscriptionWriter) AddSubscription ¶
func (_m *SubscriptionWriter) AddSubscription(s models.Subscription) (string, error)
AddSubscription provides a mock function with given fields: s