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

Function initGoTestField

proto/proto_test.go:30–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28)
29
30func initGoTestField() *pb2.GoTestField {
31 f := new(pb2.GoTestField)
32 f.Label = proto.String("label")
33 f.Type = proto.String("type")
34 return f
35}
36
37// These are all structurally equivalent but the tag numbers differ.
38// (It's remarkable that required, optional, and repeated all have

Callers 5

initGoTestFunction · 0.85
TestEncodeDecode4Function · 0.85
TestEncodeDecode5Function · 0.85
TestBigRepeatedFunction · 0.85

Calls 1

StringFunction · 0.92

Tested by

no test coverage detected