MCPcopy
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
43func (x FOO) String() string {
44 return proto.EnumName(FOO_name, int32(x))
45}
46
47func (x *FOO) UnmarshalJSON(data []byte) error {
48 value, err := proto.UnmarshalJSONEnum(FOO_value, data, "FOO")

Callers 1

mainFunction · 0.45

Calls 1

EnumNameFunction · 0.92

Tested by

no test coverage detected