service

package
v0.0.0-...-99cece9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 22, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CommentListVO

type CommentListVO struct {
	Id          string
	CommentList []CommentVo
}

type CommentVo

type CommentVo struct {
	Id      string
	Desc    string
	Score   float32
	ReplyId string
}

type CommentsServiceImpl

type CommentsServiceImpl struct{}

func (*CommentsServiceImpl) GetCommentsList

func (service *CommentsServiceImpl) GetCommentsList(ctx context.Context, id string) (CommentListVO, error)

type Service

type Service interface {
	GetCommentsList(ctx context.Context, id string) (CommentListVO, error)
}

func NewGoodsServiceImpl

func NewGoodsServiceImpl() Service

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL