Documentation ¶
Index ¶
- type Article
- func (a *Article) CreateArticle(article models.Article) (models.Article, error)
- func (a *Article) DeleteArticleById(id string) error
- func (a *Article) GetAllArticles() ([]models.Article, error)
- func (a *Article) GetArticleById(id string) (models.Article, error)
- func (a *Article) LockArticleById(id string) error
- func (a *Article) UpdateArticleById(id string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Article ¶
type Article struct {
// contains filtered or unexported fields
}
func (*Article) CreateArticle ¶
func (*Article) DeleteArticleById ¶
func (*Article) GetArticleById ¶
func (*Article) LockArticleById ¶
func (*Article) UpdateArticleById ¶
Click to show internal directories.
Click to hide internal directories.