campaign

package
v1.35.2 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2026 License: MIT Imports: 6 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

This section is empty.

Functions

func Query

Types

type Campaign

type Campaign struct {
	mixin.Model[Campaign]

	Slug string `json:"slug"`

	OrganizationId  string            `json:"organizationId"`
	Approved        bool              `json:"approved"`
	Enabled         bool              `json:"enabled"`
	Category        category.Category `json:"category"`
	Title           string            `json:"title"`
	Tagline         string            `json:"tagline"`
	PitchMedia      string            `json:"pitchMedia"`
	VideoUrl        string            `json:"videoUrl"`
	VideoOverlayUrl string            `json:"videoOverlayUrl"`
	ImageUrl        string            `json:"imageUrl"`
	Description     string            `json:"Description"`
	Backers         int               `json:"backers"`
	Raised          int64             `json:"raised"`
	Thumbnail       string            `json:"thumbnail"`
	OriginalUrl     string            `json:"originalUrl"`
	StoreUrl        string            `json:"storeUrl"`
	ProductIds      []string          `datastore:"-" json:"productIds" orm:"default:[]"`

	GoogleAnalytics string   `json:"googleAnalytics"`
	FacebookTag     string   `json:"facebookTag"`
	Links           []string `json:"links" orm:"default:[]"`
}

func Fake

func Fake(db *datastore.Datastore, organizationId string) *Campaign

func New

func New(db *datastore.Datastore) *Campaign

Jump to

Keyboard shortcuts

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