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

Method Set

config/service.go:319–355  ·  view source on GitHub ↗

Set puts a value back into the Service. Safe for concurrent use. Example usage: // Default Scope p, err := config.MakeByString("currency/option/base") // or use config.MustMakeByString( ... ) err := Write(p, "USD") // Website Scope // 3 for example comes from core_website/store_website da

(p Path, v []byte)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 13

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
NewTestServiceDeleteFunction · 0.95

Calls 9

buildTrieKeyFunction · 0.85
separatorSuffixRouteMethod · 0.80
processMethod · 0.80
sendMsgMethod · 0.80
SetMethod · 0.65
DebugMethod · 0.45
IntMethod · 0.45
ErrMethod · 0.45
IsValidMethod · 0.45

Tested by 12

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