commands

package
v0.0.0-...-e00fc7b Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentCommand

func CurrentCommand() cli.Command

CurrentCommand constructor

func ExtractCommand

func ExtractCommand() cli.Command

ExtractCommand constructor

func ListCommand

func ListCommand() cli.Command

ListCommand constructor

func NewCommand

func NewCommand() cli.Command

NewCommand constructor

Types

type Pair

type Pair struct {
	Key   string
	Value int
}

Pair struct

type PairList

type PairList []Pair

PairList A slice of pairs that implements sort.Interface to sort by values

func (PairList) Len

func (p PairList) Len() int

func (PairList) Less

func (p PairList) Less(i, j int) bool

func (PairList) Swap

func (p PairList) Swap(i, j int)

Jump to

Keyboard shortcuts

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