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

Function parseString

env/parsers.go:22–24  ·  view source on GitHub ↗

parseString returns the environment variable value as-is.

(env string)

Source from the content-addressed store, hash-verified

20
21// parseString returns the environment variable value as-is.
22func parseString(env string) (string, error) {
23 return env, nil
24}
25
26// parseEnumValue returns a parser function that looks up the input value in a map.
27// The input value is trimmed before lookup. It assumes that m contains lowercase keys.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected