Documentation ¶
Index ¶
- type CandidateRecord
- type NextDate
- type Repository
- func (s *Repository) CandidateQuery() *goqu.SelectDataset
- func (s *Repository) IsAvailableDate(ctx context.Context, date time.Time) (bool, error)
- func (s *Repository) NextDates(ctx context.Context) ([]NextDate, error)
- func (s *Repository) Pick(ctx context.Context) (bool, error)
- func (s *Repository) SetItemOfDay(ctx context.Context, dateTime time.Time, itemID int64, userID int64) (bool, error)
- func (s *Repository) SetMinPictures(value int)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CandidateRecord ¶ added in v1.68.0
type Repository ¶
type Repository struct {
// contains filtered or unexported fields
}
func NewRepository ¶
func NewRepository(db *goqu.Database) *Repository
func (*Repository) CandidateQuery ¶ added in v1.68.0
func (s *Repository) CandidateQuery() *goqu.SelectDataset
func (*Repository) IsAvailableDate ¶ added in v1.68.0
func (*Repository) NextDates ¶
func (s *Repository) NextDates(ctx context.Context) ([]NextDate, error)
func (*Repository) Pick ¶ added in v1.68.0
func (s *Repository) Pick(ctx context.Context) (bool, error)
func (*Repository) SetItemOfDay ¶ added in v1.68.0
func (*Repository) SetMinPictures ¶ added in v1.68.0
func (s *Repository) SetMinPictures(value int)
Click to show internal directories.
Click to hide internal directories.