Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Store ¶
type Store struct {
// contains filtered or unexported fields
}
Store manages the set of APIs for category access.
func NewStore ¶
func NewStore(log *zap.SugaredLogger, db *bun.DB) Store
NewStore constructs a data for api access.
func (Store) AddCategory ¶
AddCategory adds a new category to the database.
func (Store) QueryCategories ¶
QueryCategories retrieves a list of existing categories.
Click to show internal directories.
Click to hide internal directories.