Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/spf13/pflag
/ Parse
Method
Parse
func_go1.21_test.go:18–18 ·
view source on GitHub ↗
([]string)
Source
from the content-addressed store, hash-verified
16
type
FuncFlagSet
interface
{
17
Func(name string, usage string, fn
func
(string) error)
18
Parse([]string) error
19
}
20
21
unitTestErr := errors.New(
"unit test error"
)
Callers
15
TestEmptyDS
Function · 0.65
TestDS
Function · 0.65
TestDSDefault
Function · 0.65
TestDSWithDefault
Function · 0.65
TestDSAsSliceValue
Function · 0.65
TestDSCalledTwice
Function · 0.65
TestEmptyS2I64
Function · 0.65
TestS2I64
Function · 0.65
TestS2I64Default
Function · 0.65
TestS2I64WithDefault
Function · 0.65
TestS2I64CalledTwice
Function · 0.65
TestEmptyIP
Function · 0.65
Implementers
1
FlagSet
flag.go
Calls
no outgoing calls
Tested by
15
TestEmptyDS
Function · 0.52
TestDS
Function · 0.52
TestDSDefault
Function · 0.52
TestDSWithDefault
Function · 0.52
TestDSAsSliceValue
Function · 0.52
TestDSCalledTwice
Function · 0.52
TestEmptyS2I64
Function · 0.52
TestS2I64
Function · 0.52
TestS2I64Default
Function · 0.52
TestS2I64WithDefault
Function · 0.52
TestS2I64CalledTwice
Function · 0.52
TestEmptyIP
Function · 0.52