args

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: GPL-3.0 Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DateVar

type DateVar time.Time

DateVar struct

func (*DateVar) Set

func (da *DateVar) Set(input string) error

Set argument implementation

func (*DateVar) String

func (da *DateVar) String() string

String argument implementation

type DurationVar

type DurationVar time.Duration

DurationVar structure

func (*DurationVar) Set

func (da *DurationVar) Set(input string) error

Set argument implementation

func (*DurationVar) String

func (da *DurationVar) String() string

String argument implementation

type ListIntVar

type ListIntVar []int

func (*ListIntVar) Set

func (lia *ListIntVar) Set(input string) error

Set interface implementation

func (*ListIntVar) String

func (lia *ListIntVar) String() string

String interface implementation

type ListVar

type ListVar []string

ListVar structure to deal with the flag module. Parse the argument to the flag as comma separated string

func (*ListVar) Set

func (la *ListVar) Set(input string) error

Set interface implementation

func (*ListVar) String

func (la *ListVar) String() string

String interface implementation

Jump to

Keyboard shortcuts

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