article_grp

package
v0.0.0-...-8af6e0c Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cre

func Cre(ctx context.Context, in *model.ArticleGrpInput) (err error)

Cre 创建文章分类

func Del

func Del(ctx context.Context, id model.Id) (err error)

Del 删除文章分类

func IsExist

func IsExist(ctx context.Context, id model.Id) bool

IsExist 根据id判断一个文章分类是否存在

func List

func List(ctx context.Context) (list []entity.ArticleGrp, err error)

List 读取文章分类列表

func ListArticleCount

func ListArticleCount(ctx context.Context) (map[uint]uint, error)

ListArticleCount 获取已经发布文章的文章分类列表统计

func Show

func Show(ctx context.Context, id model.Id) (info *entity.ArticleGrp, err error)

Show 读取文章分类详情

func Upd

func Upd(ctx context.Context, id model.Id, in *model.ArticleGrpInput) (err error)

Upd 更新文章分类

Types

This section is empty.

Jump to

Keyboard shortcuts

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