flagutil

package
v0.0.0-...-aa74118 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2019 License: Apache-2.0 Imports: 4 Imported by: 10

Documentation

Overview

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

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Size

type Size uint64

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

func (*Size) Set

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

func (*Size) String

func (size *Size) String() string

type StringList

type StringList []string

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

func (*StringList) Set

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

func (*StringList) String

func (sl *StringList) String() string

type StringToRuneMap

type StringToRuneMap map[string]rune

A StringToRuneMap satisfies the standard library flag.Value interface.

func (*StringToRuneMap) Set

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

func (*StringToRuneMap) String

func (m *StringToRuneMap) String() string

Jump to

Keyboard shortcuts

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