MCPcopy Create free account
hub / github.com/corestoreio/pkg / FromEnvVar

Function FromEnvVar

config/storage/env.go:59–78  ·  view source on GitHub ↗

FromEnvVar parses an environment key into a config.Path. CONFIG__ETCD__CREDENTIALS__USER_NAME => scope.DefaultTypeID, etc/credentials/user_name

(prefix, envVar string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

Calls 3

ParseMethod · 0.95
ReplaceMethod · 0.80
CountMethod · 0.45

Tested by

no test coverage detected