Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateItem ¶
type CreateItem struct {
// contains filtered or unexported fields
}
func InitCreateItemService ¶
func InitCreateItemService() *CreateItem
func (*CreateItem) Create ¶
func (srv *CreateItem) Create(itemBody body.CreateItem) (*model.Item, error)
func (*CreateItem) Validate ¶
func (srv *CreateItem) Validate(body body.CreateItem) error
type DeleteItem ¶
type DeleteItem struct {
// contains filtered or unexported fields
}
func InitDeleteItemService ¶
func InitDeleteItemService() *DeleteItem
func (*DeleteItem) Delete ¶
func (srv *DeleteItem) Delete(ID int) error
type GetItem ¶
type GetItem struct {
// contains filtered or unexported fields
}
func InitGetItemService ¶
func InitGetItemService() *GetItem
type GetItems ¶
type GetItems struct {
// contains filtered or unexported fields
}
func InitGetItemsService ¶
func InitGetItemsService() *GetItems
type UpdateItem ¶
type UpdateItem struct {
// contains filtered or unexported fields
}
func InitUpdateItemService ¶
func InitUpdateItemService() *UpdateItem
func (*UpdateItem) Update ¶
func (srv *UpdateItem) Update(itemId int, itemBody body.UpdateItem) (*model.Item, error)
func (*UpdateItem) Validate ¶
func (srv *UpdateItem) Validate(body body.UpdateItem) error
Click to show internal directories.
Click to hide internal directories.