internal

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrNoAddress is the error found when the cli could no find an address
	ErrNoAddress = errors.New("no address found. (see 'apizza address' or 'apizza config')")

	// ErrNoOrderName is the error raised when the is no order name given to the
	// cart or the order commands.
	ErrNoOrderName = errors.New("No order name... use '--name=<order name>' or give name as an argument")
)

Functions

func AddTopping

func AddTopping(topStr string, p dawg.Item) error

AddTopping parses and adds a topping from the raw string.

formated as <name>:<side>:<amount> name is the only one that is required.

func YesOrNo

func YesOrNo(in *os.File, msg string) bool

YesOrNo asks a yes or no question.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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