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

Function String

env/types.go:31–37  ·  view source on GitHub ↗

String defines string env var descriptor

(name string)

Source from the content-addressed store, hash-verified

29
30// String defines string env var descriptor
31func String(name string) StringVar {
32 return StringVar{
33 Name: name,
34 format: "string",
35 parseFn: parseString,
36 }
37}
38
39// Enum defines enum value env var descriptor that maps string keys to values of type T.
40// The format string is generated from the map keys.

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
config.goFile · 0.92
TestStringFunction · 0.92
TestStringSliceSepFunction · 0.92

Calls

no outgoing calls

Tested by 2

TestStringFunction · 0.74
TestStringSliceSepFunction · 0.74