Documentation ¶
Index ¶
- type FeedbackUsecase
- type GeneralInformationUsecase
- type ServicePublicUsecase
- func (_m *ServicePublicUsecase) Delete(_a0 context.Context, _a1 int64) error
- func (_m *ServicePublicUsecase) Fetch(ctx context.Context, params *domain.Request) ([]domain.ServicePublic, error)
- func (_m *ServicePublicUsecase) GetBySlug(ctx context.Context, slug string) (domain.ServicePublic, error)
- func (_m *ServicePublicUsecase) MetaFetch(ctx context.Context, params *domain.Request) (int64, string, int64, error)
- func (_m *ServicePublicUsecase) Store(_a0 context.Context, _a1 domain.StorePublicService) error
- func (_m *ServicePublicUsecase) Update(_a0 context.Context, _a1 domain.UpdatePublicService, _a2 int64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FeedbackUsecase ¶
FeedbackUsecase is an autogenerated mock type for the FeedbackUsecase type
func NewFeedbackUsecase ¶
func NewFeedbackUsecase(t mockConstructorTestingTNewFeedbackUsecase) *FeedbackUsecase
NewFeedbackUsecase creates a new instance of FeedbackUsecase. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
type GeneralInformationUsecase ¶
GeneralInformationUsecase is an autogenerated mock type for the GeneralInformationUsecase type
func NewGeneralInformationUsecase ¶
func NewGeneralInformationUsecase(t mockConstructorTestingTNewGeneralInformationUsecase) *GeneralInformationUsecase
NewGeneralInformationUsecase creates a new instance of GeneralInformationUsecase. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*GeneralInformationUsecase) GetByID ¶
func (_m *GeneralInformationUsecase) GetByID(ctx context.Context, id int64) (domain.GeneralInformation, error)
GetByID provides a mock function with given fields: ctx, id
type ServicePublicUsecase ¶
ServicePublicUsecase is an autogenerated mock type for the ServicePublicUsecase type
func NewServicePublicUsecase ¶
func NewServicePublicUsecase(t mockConstructorTestingTNewServicePublicUsecase) *ServicePublicUsecase
NewServicePublicUsecase creates a new instance of ServicePublicUsecase. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*ServicePublicUsecase) Delete ¶
func (_m *ServicePublicUsecase) Delete(_a0 context.Context, _a1 int64) error
Delete provides a mock function with given fields: _a0, _a1
func (*ServicePublicUsecase) Fetch ¶
func (_m *ServicePublicUsecase) Fetch(ctx context.Context, params *domain.Request) ([]domain.ServicePublic, error)
Fetch provides a mock function with given fields: ctx, params
func (*ServicePublicUsecase) GetBySlug ¶
func (_m *ServicePublicUsecase) GetBySlug(ctx context.Context, slug string) (domain.ServicePublic, error)
GetBySlug provides a mock function with given fields: ctx, slug
func (*ServicePublicUsecase) MetaFetch ¶
func (_m *ServicePublicUsecase) MetaFetch(ctx context.Context, params *domain.Request) (int64, string, int64, error)
MetaFetch provides a mock function with given fields: ctx, params
func (*ServicePublicUsecase) Store ¶
func (_m *ServicePublicUsecase) Store(_a0 context.Context, _a1 domain.StorePublicService) error
Store provides a mock function with given fields: _a0, _a1
func (*ServicePublicUsecase) Update ¶
func (_m *ServicePublicUsecase) Update(_a0 context.Context, _a1 domain.UpdatePublicService, _a2 int64) error
Update provides a mock function with given fields: _a0, _a1, _a2