Documentation ¶
Index ¶
- type Blog
- type Post
- func (s *Post) Count() (int, error)
- func (s *Post) CountSearch(query string) (int, error)
- func (s *Post) Create(post *bloggulus.Post) error
- func (s *Post) Read(id int) (bloggulus.Post, error)
- func (s *Post) ReadAll(limit, offset int) ([]bloggulus.Post, error)
- func (s *Post) ReadAllByBlog(blog bloggulus.Blog, limit, offset int) ([]bloggulus.Post, error)
- func (s *Post) Search(query string, limit, offset int) ([]bloggulus.Post, error)
- type Storage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Post ¶
type Post struct {
// contains filtered or unexported fields
}
func (*Post) ReadAllByBlog ¶
Click to show internal directories.
Click to hide internal directories.