Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BannerSlotSocialGroups ¶
type BannerSlots ¶
type BannerSlots interface { AddBannerSlot(ctx context.Context, bannerID, slotID int64) (int64, error) DeleteBannerSlot(ctx context.Context, bannerID, slotID int64) error GetByBannerAndSlotIDs(ctx context.Context, bannerID, slotID int64) (*core.BannerSlot, error) GetRandomBannerIDExceptExcluded(ctx context.Context, slotID, excludedBannerID int64) (int64, error) }
type Repository ¶
type Repository struct { Banners Slots BannerSlots SocialGroups BannerSlotSocialGroups }
func NewRepository ¶
func NewRepository(db *sqlx.DB) *Repository
Directories ¶
Path | Synopsis |
---|---|
Package mock_repository is a generated GoMock package.
|
Package mock_repository is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.