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

Function MakeString

storage/null/string.go:45–50  ·  view source on GitHub ↗

MakeString creates a new String. Setting the second optional argument to false, the string will not be valid anymore, hence NULL. String implements interface Argument.

(s string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 9

TestStringFromFunction · 0.85
TestNullString_MarshalToFunction · 0.85
TestStringPointerFunction · 0.85
TestStringIsZeroFunction · 0.85
TestNullString_ScanFunction · 0.85
TestString_GoStringFunction · 0.85
TestNullStringFromFunction · 0.85

Calls

no outgoing calls

Tested by 9

TestStringFromFunction · 0.68
TestNullString_MarshalToFunction · 0.68
TestStringPointerFunction · 0.68
TestStringIsZeroFunction · 0.68
TestNullString_ScanFunction · 0.68
TestString_GoStringFunction · 0.68
TestNullStringFromFunction · 0.68