Versions in this module Expand all Collapse all v0 v0.0.1 May 13, 2024 Changes in this version + var ErrAreadyExist = repository.ErrAreadyExist + var ErrNoPermission = repository.ErrNoPermission + var ErrNotExist = repository.ErrNotExist + type Crawler interface + Crawl func(ctx context.Context) (output []*HolidayEntity, err error) + type Creater interface + Create func(ctx context.Context, input *entity.Holiday) (err error) + type DateRange struct + Gte *string + Lte *string + type DifinitionAllFinder interface + FindAllDefinitions func(ctx context.Context) (output []*entity.Holiday, err error) + type DifinitionFinder interface + FindDefinition func(ctx context.Context, id int) (output *entity.Holiday, err error) + type HolidayEntity struct + Date time.Time + Name string + type Holidays interface + type Importer interface + type SearchOption struct + Limit int + Offset int + Range *DateRange + type Searcher interface + Search func(ctx context.Context, options SearchOption) (output []*entity.Holiday, err error)