MCPcopy Create free account
hub / github.com/imgproxy/imgproxy / Bool

Function Bool

env/types.go:52–58  ·  view source on GitHub ↗

Bool defines boolean env var descriptor

(name string)

Source from the content-addressed store, hash-verified

50
51// Bool defines boolean env var descriptor
52func Bool(name string) BoolVar {
53 return BoolVar{
54 Name: name,
55 format: "bool",
56 parseFn: strconv.ParseBool,
57 }
58}
59
60// Float defines float64 env var descriptor
61func Float(name string) FloatVar {

Callers 15

config.goFile · 0.92
config.goFile · 0.92
config.goFile · 0.92
config.goFile · 0.92
config.goFile · 0.92
config.goFile · 0.92
config.goFile · 0.92
config.goFile · 0.92
config.goFile · 0.92
TestBoolFunction · 0.92
config.goFile · 0.92
config.goFile · 0.92

Calls

no outgoing calls

Tested by 1

TestBoolFunction · 0.74