Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MergeFunction ¶
type MergeFunction func(dst, src protoreflect.Message) protoreflect.Message
var ReplaceMergeFn MergeFunction = func(dst, src protoreflect.Message) protoreflect.Message {
return src
}
ReplaceMergeFn instead of merging all subfields one by one, returns src
type OptionFn ¶
type OptionFn func(options mergeOptions) mergeOptions
func MergeFunctionOptionFn ¶
func MergeFunctionOptionFn(name protoreflect.FullName, function MergeFunction) OptionFn
Click to show internal directories.
Click to hide internal directories.