internal

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2023 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Pick

func Pick(cmd *cobra.Command, args []string) error

func Shuffle

func Shuffle(cmd *cobra.Command, args []string) error

Types

type Applicant

type Applicant struct {
	Order    int
	Name     string
	Title    string
	Division string
}

func (Applicant) String

func (a Applicant) String() string

func (Applicant) Validate

func (a Applicant) Validate() error

type Applicants

type Applicants []Applicant

func (Applicants) Shuffle

func (a Applicants) Shuffle()

type Parser

type Parser struct{}

func (Parser) Parse

func (p Parser) Parse(cmd *cobra.Command, args []string) (Applicants, error)

type Progress

type Progress struct {
	Bar *uiprogress.Bar
}

func NewProgress

func NewProgress(prependText string, max int) *Progress

func (*Progress) Increment

func (p *Progress) Increment()

func (*Progress) Start

func (p *Progress) Start()

func (*Progress) Stop

func (p *Progress) Stop()

Jump to

Keyboard shortcuts

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