testcampaign

package
v0.0.0-...-044f632 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2022 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEmptyID      = errors.New("empty test campaign ID")
	ErrEmptyOwnerID = errors.New("empty owner ID")
)

Functions

This section is empty.

Types

type Params

type Params struct {
	ID        string
	ViewName  string
	Summary   string
	OwnerID   string
	CreatedAt time.Time
}

type TestCampaign

type TestCampaign struct {
	// contains filtered or unexported fields
}

func MustNew

func MustNew(params Params) *TestCampaign

func New

func New(params Params) (*TestCampaign, error)

func (*TestCampaign) CreatedAt

func (tc *TestCampaign) CreatedAt() time.Time

func (*TestCampaign) ID

func (tc *TestCampaign) ID() string

func (*TestCampaign) OwnerID

func (tc *TestCampaign) OwnerID() string

func (*TestCampaign) SetSummary

func (tc *TestCampaign) SetSummary(summary string)

func (*TestCampaign) SetViewName

func (tc *TestCampaign) SetViewName(viewName string)

func (*TestCampaign) Summary

func (tc *TestCampaign) Summary() string

func (*TestCampaign) ViewName

func (tc *TestCampaign) ViewName() string

Jump to

Keyboard shortcuts

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