Documentation ¶
Index ¶
- func CreateArticle(ctx context.Context, article *model.Article) (*model.Article, error)
- func DeleteArticleByID(ctx context.Context, id int64) error
- func GetAllArticles(ctx context.Context) ([]*model.Article, error)
- func GetArticleByID(ctx context.Context, id int64) (*model.Article, error)
- func UpdateArticle(ctx context.Context, article *model.Article) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateArticle ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.