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

Method Enum

internal/testprotos/proto2_proto/test.pb.go:37–41  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37func (x FOO) Enum() *FOO {
38 p := new(FOO)
39 *p = x
40 return p
41}
42
43func (x FOO) String() string {
44 return proto.EnumName(FOO_name, int32(x))

Callers 15

makeGoldenFunction · 0.45
newTestMessageFunction · 0.45
text_test.goFile · 0.45
writeSingularValueMethod · 0.45
initGoTestFunction · 0.45
TestEnumFunction · 0.45
TestAllSetDefaultsFunction · 0.45
TestJSONFunction · 0.45
proto_test.goFile · 0.45
goTypeForFieldFunction · 0.45

Calls

no outgoing calls

Tested by 7

makeGoldenFunction · 0.36
newTestMessageFunction · 0.36
initGoTestFunction · 0.36
TestEnumFunction · 0.36
TestAllSetDefaultsFunction · 0.36
TestJSONFunction · 0.36