Skip to content

Latest commit

 

History

History
22 lines (18 loc) · 645 Bytes

TODO.md

File metadata and controls

22 lines (18 loc) · 645 Bytes

TODO

High priority

  • wrap if src.xx != nil { for pointer type field
    • Unsure which is better, automatically or with a nottation specifically.

May implement if there is strong demand

  • tag match
  • :conv:type <_func_> <_src type_> [_to type_] notation
    • it allows to specify a converter for type(s).
  • :conv:with <_func_> <_dst field_> notation
    • it allows to specify a src-struct-to-field converter.
  • copy recursively
  • deep copy for slices
    • cannot cover all cases, IMHO.
  • deep copy for maps
    • cannot cover all cases, IMHO.