Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGoodsComments ¶
func GetGoodsComments(id string) (common.CommentResult, error)
Types ¶
type GoodsDetailServiceImpl ¶
type GoodsDetailServiceImpl struct{}
func (*GoodsDetailServiceImpl) GetGoodsDetail ¶
func (service *GoodsDetailServiceImpl) GetGoodsDetail(ctx context.Context, id string) (GoodsDetailVO, error)
type GoodsDetailVO ¶
type GoodsDetailVO struct { Id string Name string Comments common.CommentListVO }
type Service ¶
type Service interface {
GetGoodsDetail(ctx context.Context, id string) (GoodsDetailVO, error)
}
func NewGoodsServiceImpl ¶
func NewGoodsServiceImpl() Service
Click to show internal directories.
Click to hide internal directories.