Documentation ¶
Index ¶
- type FileRepo
- func (fr *FileRepo) All() (post.PostList, error)
- func (fr *FileRepo) FindByCategory(category string) (post.PostList, error)
- func (fr *FileRepo) FindByMonth(year int, month time.Month) (post.PostList, error)
- func (fr *FileRepo) FindBySlug(slug string) (*post.Post, error)
- func (fr *FileRepo) FindByTag(tag string) (post.PostList, error)
- func (fr *FileRepo) FindLatest(limit int) (post.PostList, error)
- func (fr *FileRepo) Len() int
- func (fr *FileRepo) Search(query string) (post.PostList, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileRepo ¶
type FileRepo struct {
// contains filtered or unexported fields
}
func (*FileRepo) FindByCategory ¶
func (*FileRepo) FindByMonth ¶
Click to show internal directories.
Click to hide internal directories.