Documentation ¶
Index ¶
- type Article
- type Auth
- type Tag
- func (t *Tag) Add() error
- func (t *Tag) Count() (int, error)
- func (t *Tag) Delete() error
- func (t *Tag) Edit() error
- func (t *Tag) ExistByID() (bool, error)
- func (t *Tag) ExistByName() (bool, error)
- func (t *Tag) Export() (string, error)
- func (t *Tag) GetAll() ([]models.Tag, error)
- func (t *Tag) Import(r io.Reader) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Article ¶
type Article struct { ID int TagID int Title string Desc string Content string CoverImageURL string State int CreatedBy string ModifiedBy string PageNum int PageSize int }
Article 文章结构体
Click to show internal directories.
Click to hide internal directories.