stdutil

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetExistingFlagNames

func GetExistingFlagNames(flagSet *flag.FlagSet) map[string]struct{}

Types

type FormalTagNames

type FormalTagNames map[string]bool

FormalTagNames is a map where key is a flag name and value indicates it's a bool flag

func GetFormalFlagNames

func GetFormalFlagNames(flagSet *flag.FlagSet) FormalTagNames

GetFormalFlagNames returns a map where key is a flag name and value indicates it's a bool flag

func (FormalTagNames) Clone

func (flags FormalTagNames) Clone() FormalTagNames

Jump to

Keyboard shortcuts

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