discount

package
v0.0.0-...-c52fe67 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2020 License: GPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Status

type Status uint8
const (
	StatusUnknown Status = iota
	StatusDraft
	StatusPublished
	StatusRunning
	StatusArchived
)

func NewStatus

func NewStatus(v uint8) Status

func NewStatusByString

func NewStatusByString(v string) Status

func NewStatusPointerByStringPointer

func NewStatusPointerByStringPointer(v *string) *Status

func (Status) String

func (t Status) String() string

func (Status) Value

func (t Status) Value() uint8

type Type

type Type uint8
const (
	TypeUndefined Type = iota
	TypeCustom
	TypeSpecial
)

func NewType

func NewType(v uint8) Type

func NewTypeByString

func NewTypeByString(v string) Type

func NewTypePointerByStringPointer

func NewTypePointerByStringPointer(v *string) *Type

func (Type) String

func (t Type) String() string

func (Type) Value

func (t Type) Value() uint8

Jump to

Keyboard shortcuts

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