README ¶ go-fieldmask Field mask for golang Expand ▾ Collapse ▴ Documentation ¶ Index ¶ Variables func Merge(source, dest interface{}, mask *fieldmask.FieldMask) error Constants ¶ This section is empty. Variables ¶ View Source var ( ErrorNilSource = errors.New("source object is nil") ErrorNilDest = errors.New("destination object is nil") ErrorTypeNotMatch = errors.New("types of source and destination objects do not match") ) Functions ¶ func Merge ¶ func Merge(source, dest interface{}, mask *fieldmask.FieldMask) error Merge will take the fields of `source` that are included as paths in `mask` and write them to the corresponding fields of `dest` Types ¶ This section is empty. Source Files ¶ View all Source files fieldmask.go Directories ¶ Show internal Expand all Path Synopsis testproto Click to show internal directories. Click to hide internal directories.