flagx

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ArrayFlag

type ArrayFlag []string

ArrayFlag implements support for array of string flag

func (*ArrayFlag) Set

func (a *ArrayFlag) Set(value string) error

Set adds new flag to string array

func (*ArrayFlag) String

func (a *ArrayFlag) String() string

String returns string representation of string array flag

type MapFlag

type MapFlag map[string]string

MapFlag implements support for map flag

func (*MapFlag) Set

func (m *MapFlag) Set(value string) error

Set adds new flag to map

func (*MapFlag) String

func (m *MapFlag) String() string

String returns string representation of map flag

Jump to

Keyboard shortcuts

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