Dominator: github.com/Symantec/Dominator/lib/flagutil Index | Files

package flagutil

import "github.com/Symantec/Dominator/lib/flagutil"

Package flagutil provides utility types for the standard flag package.

Package flagutil provides a collection of types to enhance the standard flag package, such as slices.

Index

Package Files

api.go size.go stringList.go stringToRuneMap.go

type Size Uses

type Size uint64

A Size is an integer number of bytes that satisfies the standard library flag.Value interface.

func (*Size) Set Uses

func (size *Size) Set(value string) error

func (*Size) String Uses

func (size *Size) String() string

type StringList Uses

type StringList []string

A StringList is a slice of strings that satisfies the standard library flag.Value interface.

func (*StringList) Set Uses

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

func (*StringList) String Uses

func (sl *StringList) String() string

type StringToRuneMap Uses

type StringToRuneMap map[string]rune

A StringToRuneMap satisfies the standard library flag.Value interface.

func (*StringToRuneMap) Set Uses

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

func (*StringToRuneMap) String Uses

func (m *StringToRuneMap) String() string

Package flagutil imports 4 packages (graph) and is imported by 9 packages. Updated 2019-01-12. Refresh now. Tools for package owners.