MCPcopy Create free account
hub / github.com/devaccuracy/ledgerforge / parseEnvBool

Function parseEnvBool

tests/loadtest/tools/queue_benchmark.go:677–684  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

675}
676
677func parseEnvBool(key string) bool {
678 raw := strings.TrimSpace(os.Getenv(key))
679 if raw == "" {
680 return false
681 }
682 value, err := strconv.ParseBool(raw)
683 return err == nil && value
684}

Callers 1

resolveRedisSettingsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected