Documentation ¶
Index ¶
- type SearchResult
- type Store
- func (s *Store) AddBooks(books []*model.Book, partial bool) error
- func (s *Store) Close() error
- func (s *Store) GetBookById(id string) (*model.Book, error)
- func (s *Store) GetMostRecentBooks(count int) ([]*model.Book, error)
- func (s *Store) SearchByField(field, query string, page, pageSize int) (*SearchResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SearchResult ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
func (*Store) GetMostRecentBooks ¶
func (*Store) SearchByField ¶
func (s *Store) SearchByField(field, query string, page, pageSize int) (*SearchResult, error)
Click to show internal directories.
Click to hide internal directories.