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