testing

package
v0.0.16 Latest Latest
Warning

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

Go to latest
Published: May 21, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FlagValidation

type FlagValidation struct {
	Name         string
	Shorthand    string
	UsageIsEmpty bool
}

FlagValidation contains some fields of a flag to valid

type FlagsValidation

type FlagsValidation []FlagValidation

FlagsValidation is an array of the FlagValidations

func (FlagsValidation) Valid

func (f FlagsValidation) Valid(t *testing.T, flagSet *flag.FlagSet)

Valid do the validation for the flags

Jump to

Keyboard shortcuts

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