Home / Type/ MessageState Type — gin Architecture

MessageState Type — gin Architecture

Architecture documentation for the MessageState type/interface in test.pb.go from the gin codebase.

Entity Profile

Dependency Diagram

graph TD
  125adfb5_33c1_e9a6_b032_be764a9dd25b["MessageState"]
  f8371fb9_a431_c897_743f_324bc3b5ba62["test.pb.go"]
  125adfb5_33c1_e9a6_b032_be764a9dd25b -->|defined in| f8371fb9_a431_c897_743f_324bc3b5ba62
  style 125adfb5_33c1_e9a6_b032_be764a9dd25b fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

testdata/protoexample/test.pb.go lines 76–85

type Test struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Label         *string             `protobuf:"bytes,1,req,name=label" json:"label,omitempty"`
	Type          *int32              `protobuf:"varint,2,opt,name=type,def=77" json:"type,omitempty"`
	Reps          []int64             `protobuf:"varint,3,rep,name=reps" json:"reps,omitempty"`
	Optionalgroup *Test_OptionalGroup `protobuf:"group,4,opt,name=OptionalGroup,json=optionalgroup" json:"optionalgroup,omitempty"`
}

Frequently Asked Questions

What is the MessageState type?
MessageState is a type/interface in the gin codebase, defined in testdata/protoexample/test.pb.go.
Where is MessageState defined?
MessageState is defined in testdata/protoexample/test.pb.go at line 76.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free