Code
Hub
Workspaces
Connect your AI tool
Indexed graphs
Engine
MCP
copy
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.
34
func
String(v string) *string {
return
&v }
Callers
15
TestGetExtensionForIncompleteDesc
Function · 0.92
TestExtensionsRoundTrip
Function · 0.92
TestNilExtension
Function · 0.92
proto_clone_test.go
File · 0.92
init
Function · 0.92
TestDiscardUnknown
Function · 0.92
init
Function · 0.92
proto_equal_test.go
File · 0.92
makeGolden
Function · 0.92
newTestMessage
Function · 0.92
TestTextOneof
Function · 0.92
TestStringEscaping
Function · 0.92
Calls
no outgoing calls
Tested by
15
TestGetExtensionForIncompleteDesc
Function · 0.74
TestExtensionsRoundTrip
Function · 0.74
TestNilExtension
Function · 0.74
init
Function · 0.74
TestDiscardUnknown
Function · 0.74
init
Function · 0.74
makeGolden
Function · 0.74
newTestMessage
Function · 0.74
TestTextOneof
Function · 0.74
TestStringEscaping
Function · 0.74
TestRepeatedNilText
Function · 0.74
TestRacyMarshal
Function · 0.74