Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewCampaignCreator ¶
func NewCampaignCreator(impl *CampaignRepoImpl) repo.CampaignCreator
NewCampaignCreator is a function to create a new campaign creator
func NewCampaignFinder ¶
func NewCampaignFinder(impl *CampaignRepoImpl) repo.CampaignFinder
NewCampaignFinder is a function to create a new campaign finder
Types ¶
type CampaignRepoImpl ¶
type CampaignRepoImpl struct {
// contains filtered or unexported fields
}
CampaignRepoImpl is a struct to define the campaign repository implementation
func NewCampaignRepoImpl ¶
func NewCampaignRepoImpl(rw *mongo.Client) *CampaignRepoImpl
NewCampaignRepoImpl is a function to create a new campaign repository implementation
Click to show internal directories.
Click to hide internal directories.