Documentation ¶
Index ¶
- type BeerInteractor
- func (_m *BeerInteractor) CreateBeer(ctx context.Context, params *domain.CreateBeerParams) (*domain.Beer, error)
- func (_m *BeerInteractor) DeleteBeer(ctx context.Context, params *domain.DeleteBeerParams) error
- func (_m *BeerInteractor) GetBeer(ctx context.Context, params *domain.GetBeerParams) (*domain.Beer, error)
- func (_m *BeerInteractor) ListBeers(ctx context.Context, params *domain.ListBeersParams) ([]*domain.Beer, error)
- func (_m *BeerInteractor) UpdateBeer(ctx context.Context, params *domain.UpdateBeerParams) (*domain.Beer, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BeerInteractor ¶
BeerInteractor is an autogenerated mock type for the BeerInteractor type
func (*BeerInteractor) CreateBeer ¶
func (_m *BeerInteractor) CreateBeer(ctx context.Context, params *domain.CreateBeerParams) (*domain.Beer, error)
CreateBeer provides a mock function with given fields: ctx, params
func (*BeerInteractor) DeleteBeer ¶
func (_m *BeerInteractor) DeleteBeer(ctx context.Context, params *domain.DeleteBeerParams) error
DeleteBeer provides a mock function with given fields: ctx, params
func (*BeerInteractor) GetBeer ¶
func (_m *BeerInteractor) GetBeer(ctx context.Context, params *domain.GetBeerParams) (*domain.Beer, error)
GetBeer provides a mock function with given fields: ctx, params
func (*BeerInteractor) ListBeers ¶
func (_m *BeerInteractor) ListBeers(ctx context.Context, params *domain.ListBeersParams) ([]*domain.Beer, error)
ListBeers provides a mock function with given fields: ctx, params
func (*BeerInteractor) UpdateBeer ¶
func (_m *BeerInteractor) UpdateBeer(ctx context.Context, params *domain.UpdateBeerParams) (*domain.Beer, error)
UpdateBeer provides a mock function with given fields: ctx, params
Click to show internal directories.
Click to hide internal directories.