Documentation
¶
Index ¶
- func Cre(ctx context.Context, in *model.ArticleInput) (lastId model.Id, err error)
- func Del(ctx context.Context, id model.Id, isReal bool) (err error)
- func Hist(ctx context.Context, id model.Id) (err error)
- func IsExist(ctx context.Context, id model.Id) bool
- func List(ctx context.Context, query *model.ArticleQuery) (list []entity.Article, total uint, err error)
- func ReCre(ctx context.Context, id model.Id) (err error)
- func Show(ctx context.Context, id model.Id) (info *entity.Article, err error)
- func Upd(ctx context.Context, id model.Id, in *model.ArticleInput) (err error)
- func UpdLastedAt(ctx context.Context, id model.Id) (err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func List ¶
func List(ctx context.Context, query *model.ArticleQuery) (list []entity.Article, total uint, err error)
List 读取文章列表
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.