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

Method String

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

Source from the content-addressed store, hash-verified

162}
163
164func (x MyMessage_Color) String() string {
165 return proto.EnumName(MyMessage_Color_name, int32(x))
166}
167
168func (x *MyMessage_Color) UnmarshalJSON(data []byte) error {
169 value, err := proto.UnmarshalJSONEnum(MyMessage_Color_value, data, "MyMessage_Color")

Callers

nothing calls this directly

Calls 1

EnumNameFunction · 0.92

Tested by

no test coverage detected