Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoodsInterface ¶
type GoodsInterface interface {
GetGoods(goodsID int) objects.GoodsModel
}
type GoodsRepository ¶
type GoodsRepository struct {
freedom.Repository
}
GoodsRepository .
func (*GoodsRepository) GetGoods ¶
func (repo *GoodsRepository) GetGoods(goodsID int) (result objects.GoodsModel)
GetGoods implment Goods interface
Click to show internal directories.
Click to hide internal directories.