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