Documentation ¶
Index ¶
- func EqualMessage(v1, v2 pref.Value) bool
- func EqualValue(fd pref.FieldDescriptor, x, y pref.Value) bool
- func IsScalarType(t string) bool
- func MatchBoringInteger(text string) []string
- func MatchEnum(text string) []string
- func MatchKeyedList(text string) []string
- func MatchList(text string) []string
- func MatchMap(text string) []string
- func MatchProp(text string) []string
- func MatchStruct(text string) []string
- func ParseProp(text string) *tableaupb.FieldProp
- type Kind
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualMessage ¶
equalMessage reports whether two messages are equal. If two messages marshal to the same bytes under deterministic serialization, then Equal is guaranteed to report true.
func EqualValue ¶
func EqualValue(fd pref.FieldDescriptor, x, y pref.Value) bool
equalValue compares two singular values. NOTE(wenchy): borrowed from https://github.com/protocolbuffers/protobuf-go/blob/v1.27.1/proto/equal.go#L113
func IsScalarType ¶
func MatchBoringInteger ¶
func MatchKeyedList ¶
func MatchStruct ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.