MCPcopy
hub / github.com/golang/protobuf / String

Function String

proto/wrappers.go:34–34  ·  proto/wrappers.go::String

String stores v in a new string value and returns a pointer to it.

(v string)

Source from the content-addressed store, hash-verified

32
33// String stores v in a new string value and returns a pointer to it.
34func String(v string) *string { return &v }

Callers 15

TestExtensionsRoundTripFunction · 0.92
TestNilExtensionFunction · 0.92
initFunction · 0.92
TestDiscardUnknownFunction · 0.92
initFunction · 0.92
makeGoldenFunction · 0.92
newTestMessageFunction · 0.92
TestTextOneofFunction · 0.92
TestStringEscapingFunction · 0.92

Calls

no outgoing calls

Tested by 15

TestExtensionsRoundTripFunction · 0.74
TestNilExtensionFunction · 0.74
initFunction · 0.74
TestDiscardUnknownFunction · 0.74
initFunction · 0.74
makeGoldenFunction · 0.74
newTestMessageFunction · 0.74
TestTextOneofFunction · 0.74
TestStringEscapingFunction · 0.74
TestRepeatedNilTextFunction · 0.74
TestRacyMarshalFunction · 0.74