Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/golang/protobuf
/ String
Method
String
internal/testprotos/proto2_proto/test.pb.go:43–45 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
41
}
42
43
func
(x FOO) String() string {
44
return
proto.EnumName(FOO_name, int32(x))
45
}
46
47
func
(x *FOO) UnmarshalJSON(data []byte) error {
48
value, err := proto.UnmarshalJSONEnum(FOO_value, data,
"FOO"
)
Callers
1
main
Function · 0.45
Calls
1
EnumName
Function · 0.92
Tested by
no test coverage detected