oflag

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 1, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StringList

type StringList struct {
	Strings []string
}

StringList is a flag that can collect multiple strings.

func NewStringList

func NewStringList() *StringList

NewStringList returns a new string list flag.

func (*StringList) Set

func (o *StringList) Set(value string) error

Set is used to add a new value to the OverrideFlag.

func (*StringList) String

func (o *StringList) String() string

String returns a string representation of all Override's within the OverrideFlag.

func (*StringList) Type

func (o *StringList) Type() string

Type returns the type of flag.

Jump to

Keyboard shortcuts

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