Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CategoryService ¶
type CategoryService struct {
// contains filtered or unexported fields
}
func (*CategoryService) Patch ¶
func (s *CategoryService) Patch(ctx context.Context, request *model.FitterUpdateCategory) (*model.UpdateResponseCategory, error)
type Service ¶
type Service interface { Create(ctx context.Context, input *model.Request) (ID int, err error) Patch(ctx context.Context, request *model.FitterUpdateCategory) (*model.UpdateResponseCategory, error) }
func NewService ¶
func NewService(r postgres.Repository) (service Service)
Click to show internal directories.
Click to hide internal directories.