Documentation ¶
Overview ¶
Package cpy
Package cpy ¶
Package cpy ¶
Package cpy ¶
Package cpy
Index ¶
- func All(toObj interface{}, fromObj interface{}) error
- func ErrCopyFromObjectInvalid() error
- func ErrCopyToObjectUnaddressable() error
- func ErrTypeMapNotEqual() error
- func Filter(toObj interface{}, fromObj interface{}, filter FilterFn) error
- func Gist() *impl
- func Omit(toObj interface{}, fromObj interface{}, fields ...string) error
- func Select(toObj interface{}, fromObj interface{}, fields ...string) error
- type FilterFn
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶
func All(toObj interface{}, fromObj interface{}) error
All Copy everything from one to another
func ErrCopyFromObjectInvalid ¶
func ErrCopyFromObjectInvalid() error
ErrCopyFromObjectInvalid Error: Copy from object is invalid
func ErrCopyToObjectUnaddressable ¶
func ErrCopyToObjectUnaddressable() error
ErrCopyToObjectUnaddressable Error: Copy to object is unaddressable
func ErrTypeMapNotEqual ¶
func ErrTypeMapNotEqual() error
ErrTypeMapNotEqual Error: Type of map is not equal
Types ¶
Click to show internal directories.
Click to hide internal directories.