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

Method Get

config/service.go:378–443  ·  view source on GitHub ↗

Get returns a configuration value from the Service, ignoring the scope hierarchy/fallback logic using a direct match. Safe for concurrent use. Example usage: // Default Scope dp := config.MustMakePath("general/locale/timezone") // Website Scope // 3 for example comes from store_website dat

(p Path)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

TestEncoding_Text_BinaryFunction · 0.95
TestMakeBinaryFunction · 0.95
ExampleWithPooledEncoderFunction · 0.95
benchmarkCountryFunction · 0.95
benchmarkStoresFunction · 0.95
TestService_EncodingFunction · 0.95
TestWithBigCache_SuccessFunction · 0.95
TestExpirationFunction · 0.95

Calls 9

valFoundStringerFunction · 0.85
buildTrieKeyFunction · 0.85
separatorSuffixRouteMethod · 0.80
processMethod · 0.80
StringMethod · 0.65
GetMethod · 0.65
SetMethod · 0.65
DebugMethod · 0.45
ErrMethod · 0.45

Tested by 15

TestEncoding_Text_BinaryFunction · 0.76
TestMakeBinaryFunction · 0.76
ExampleWithPooledEncoderFunction · 0.76
benchmarkCountryFunction · 0.76
benchmarkStoresFunction · 0.76
TestService_EncodingFunction · 0.76
TestWithBigCache_SuccessFunction · 0.76
TestExpirationFunction · 0.76