Documentation ¶
Index ¶
- type Dao
- func (d *Dao) Articles(c context.Context, aids []int64) (res map[int64]*article.Meta, err error)
- func (d *Dao) Favorites(c context.Context, mid int64, pn, ps int) (res []*article.Favorite, err error)
- func (d *Dao) UpArticles(c context.Context, mid int64, pn, ps int) (ams []*article.Meta, count int, err error)
- func (d *Dao) UpLists(c context.Context, mid int64) (lists []*article.List, count int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Dao ¶
type Dao struct {
// contains filtered or unexported fields
}
Dao is atticle dao
func (*Dao) Favorites ¶
func (d *Dao) Favorites(c context.Context, mid int64, pn, ps int) (res []*article.Favorite, err error)
Favorites get article data from api.
Click to show internal directories.
Click to hide internal directories.