flags

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2020 License: Apache-2.0, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddBoolNullableFlag

func AddBoolNullableFlag(f *flag.FlagSet, variableToSet **bool, name string, usage string)

func AddBoolNullableFlagP

func AddBoolNullableFlagP(f *flag.FlagSet, variableToSet **bool, name string, shorthand string, usage string)

func AddDurationNullableFlagP

func AddDurationNullableFlagP(f *flag.FlagSet, variableToSet **time.Duration, name string, shorthand string, usage string)

func AddIntNullableFlag

func AddIntNullableFlag(f *flag.FlagSet, variableToSet **int, name string, usage string)

func AddIntNullableFlagP

func AddIntNullableFlagP(f *flag.FlagSet, variableToSet **int, name string, shorthand string, usage string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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