Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/spf13/pflag
/ boolString
Function
boolString
flag_test.go:35–40 ·
view source on GitHub ↗
(s string)
Source
from the content-addressed store, hash-verified
33
)
34
35
func
boolString(s string) string {
36
if
s ==
"0"
{
37
return
"false"
38
}
39
return
"true"
40
}
41
42
func
TestEverything(t *testing.T) {
43
m := make(
map
[string]*Flag)
Callers
1
TestEverything
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected