1 Commits

Author SHA1 Message Date
charlie a6990aa4af refactor: split copier.go into smaller files
Split monolithic copier.go (1077 lines) into focused modules:
- copier.go: Core framework (95 lines)
- copy_value.go: Copy functions and type handling (858 lines)
- reflect.go: Reflection utilities (100 lines)
- converter.go: Type converter (38 lines)
- options.go: Configuration (renamed from optiongs.go)

Bug fixes:
- Fixed string to *string copying (empty strings now work)
- Fixed *time.Time to *time.Time copying
- Fixed nil slice handling
- Fixed copyStructToSlice pointer element handling

Tests: Fixed critical data copy issues. Remaining method-mapping
features require additional implementation.
2026-04-24 01:11:22 +08:00