akiflag

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Oct 5, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IgnoreDurationFlags added in v0.21.16

func IgnoreDurationFlags(fs *pflag.FlagSet, flagNames []string, usage string)

func IgnoreIntFlags added in v0.21.16

func IgnoreIntFlags(fs *pflag.FlagSet, flagNames []string, usage string)

func IgnoreStringFlags added in v0.21.16

func IgnoreStringFlags(fs *pflag.FlagSet, flagNames []string, usage string)

func RenameIntFlag

func RenameIntFlag(fs *pflag.FlagSet, flagVar *int, oldName, newName string, defaultVal int, usage string)

func RenameStringFlag

func RenameStringFlag(fs *pflag.FlagSet, flagVar *string, oldName, newName, defaultVal, usage string)

func RenameStringSliceFlag

func RenameStringSliceFlag(fs *pflag.FlagSet, flagVar *[]string, oldName, newName string, defaultVal []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