Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/grpc/grpc-go
/ strFromPointer
Function
strFromPointer
channelz/internal/protoconv/util.go:23–28 ·
view source on GitHub ↗
(s *string)
Source
from the content-addressed store, hash-verified
21
package
protoconv
22
23
func
strFromPointer(s *string) string {
24
if
s == nil {
25
return
""
26
}
27
return
*s
28
}
Callers
2
channelToProto
Function · 0.70
subChannelToProto
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected