package
0.0.0-20240827045243-13a6da0b124d
Repository: https://github.com/forhsd/postgresql-parser.git
Documentation: pkg.go.dev
# Functions
Clone uses proto.Clone to return a deep copy of pb.
Marshal encodes pb into the wire format.
MarshalToWithoutFuzzing encodes pb into the wire format.
MaybeFuzz takes the given proto and, if nullability fuzzing is enabled, walks it using a RandomZeroInsertingVisitor.
RandomZeroInsertingVisitor inserts zero values randomly for fields that have the `cockroachdb:"randnullable"` struct tag set.
RegisterUnclonableType registers a type as not being allowed for cloning.
Unmarshal parses the protocol buffer representation in buf and places the decoded result in pb.
Walk .
ZeroInsertingVisitor replaces all nil struct fields which have the `cockroachdb:"randnullable"` tag by pointers to a zero value.
# Variables
No description provided by the author
No description provided by the author
Interceptor will be called with every proto before it is marshaled.
# Structs
ProtoPb is a gwruntime.Marshaler that uses github.com/gogo/protobuf/proto.
No description provided by the author
# Interfaces
Message extends the proto.Message interface with the MarshalTo and Size methods we tell gogoproto to generate for us.
# Type aliases
JSONPb is a gwruntime.Marshaler that uses github.com/gogo/protobuf/jsonpb.