flagvar

package
v0.0.0-...-51b3ee1 Latest Latest
Warning

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

Go to latest
Published: Jul 7, 2016 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Array

type Array []string

Array represents string array flag variable.

func (*Array) Set

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

Set appends element to the array.

func (*Array) String

func (a *Array) String() string

type Map

type Map map[string]string

Map represents map[string]string flag variable.

func (*Map) Set

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

Set adds element to the map. It must be in key=value format, otherwise error is returned.

func (*Map) String

func (m *Map) String() string

Jump to

Keyboard shortcuts

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