Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SenseUnit/dumbproxy
/ boolToInt
Function
boolToInt
resolver/prefer.go:48–53 ·
view source on GitHub ↗
(x bool)
Source
from the content-addressed store, hash-verified
46
}
47
48
func
boolToInt(x bool) int {
49
if
x {
50
return
0
51
}
52
return
1
53
}
54
55
type
PreferIPv4
struct
{
56
LookupNetIPer
Callers
2
LookupNetIP
Method · 0.85
LookupNetIP
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected