Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoodsController ¶
func (*GoodsController) GetBy ¶
func (goods *GoodsController) GetBy(id int) (result objects.GoodsModel, e error)
Get handles the GET: /goods/:id route.
type ShopController ¶
type ShopController struct { Worker freedom.Worker Shopping domain.ShoppingInterface }
func (*ShopController) GetBy ¶
func (s *ShopController) GetBy(id int) string
Get handles the GET: /shop/:id route.
Click to show internal directories.
Click to hide internal directories.