util

package
v1.34.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 23, 2026 License: MIT Imports: 8 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

View Source
var NoAdCampaignFound = errors.New("No AdCampaign Found")
View Source
var NoAdConfigFound = errors.New("No AdConfig Found")
View Source
var NoAdFound = errors.New("No Ad Found")
View Source
var NoAdSetFound = errors.New("No AdSet Found")

Functions

func GetAd

func GetAd(db *datastore.Datastore, h BelongsToAd) (*ad.Ad, error)

func GetAdConfigs

func GetAdConfigs(db *datastore.Datastore, h HasAdConfigs) ([]*adconfig.AdConfig, error)

func GetAdSet

func GetAdSet(db *datastore.Datastore, h BelongsToAdSet) (*adset.AdSet, error)

func GetAdSets

func GetAdSets(db *datastore.Datastore, h HasAdSets) ([]*adset.AdSet, error)

func GetAds

func GetAds(db *datastore.Datastore, h HasAds) ([]*ad.Ad, error)

func GetCopies

func GetCopies(db *datastore.Datastore, h HasCopies) ([]*copy.Copy, error)

func GetHeadlines

func GetHeadlines(db *datastore.Datastore, h HasHeadlines) ([]*copy.Copy, error)

func GetMedias

func GetMedias(db *datastore.Datastore, h HasMedias) ([]*media.Media, error)

Types

type BelongsToAd

type BelongsToAd interface {
	GetAdId() string
}

type BelongsToAdCampaign

type BelongsToAdCampaign interface {
	GetAdCampaignId() string
}

type BelongsToAdConfig

type BelongsToAdConfig interface {
	GetAdConfigId() string
}

type BelongsToAdSet

type BelongsToAdSet interface {
	GetAdSetId() string
}

type HasAdConfigs

type HasAdConfigs interface {
	GetAdConfigSearchFieldAndIds() (string, []string)
}

type HasAdSets

type HasAdSets interface {
	GetAdSetSearchFieldAndIds() (string, []string)
}

type HasAds

type HasAds interface {
	GetAdSearchFieldAndIds() (string, []string)
}

type HasCopies

type HasCopies interface {
	GetCopySearchFieldAndIds() (string, []string)
}

type HasHeadlines

type HasHeadlines interface {
	GetHeadlineSearchFieldAndIds() (string, []string)
}

type HasMedias

type HasMedias interface {
	GetMediaSearchFieldAndIds() (string, []string)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL