Documentation ¶
Index ¶
- func ToCustomTopicPb(info *types.ProductCustomTopic) *dm.CustomTopic
- func ToCustomTopicTypes(info *dm.CustomTopic) *types.ProductCustomTopic
- func ToCustomTopicsPb(info []*types.ProductCustomTopic) (ret []*dm.CustomTopic)
- func ToCustomTopicsTypes(info []*dm.CustomTopic) (ret []*types.ProductCustomTopic)
- type ReadLogic
- type UpdateLogic
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToCustomTopicPb ¶
func ToCustomTopicPb(info *types.ProductCustomTopic) *dm.CustomTopic
func ToCustomTopicTypes ¶
func ToCustomTopicTypes(info *dm.CustomTopic) *types.ProductCustomTopic
func ToCustomTopicsPb ¶
func ToCustomTopicsPb(info []*types.ProductCustomTopic) (ret []*dm.CustomTopic)
func ToCustomTopicsTypes ¶
func ToCustomTopicsTypes(info []*dm.CustomTopic) (ret []*types.ProductCustomTopic)
Types ¶
type ReadLogic ¶
func NewReadLogic ¶
func NewReadLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ReadLogic
func (*ReadLogic) Read ¶
func (l *ReadLogic) Read(req *types.ProductCustomReadReq) (resp *types.ProductCustom, err error)
type UpdateLogic ¶
func NewUpdateLogic ¶
func NewUpdateLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLogic
func (*UpdateLogic) Update ¶
func (l *UpdateLogic) Update(req *types.ProductCustom) error
Click to show internal directories.
Click to hide internal directories.