Commit Graph

6 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
charlie 362dc000b1 u 2025-09-30 18:41:21 +08:00
charlie a6e0c5e740 update 2025-09-26 18:22:17 +08:00
charlie 86e6558c8d remove assert 2025-09-24 15:29:14 +08:00
charlie 442cff29ff map->struct 2025-09-23 18:05:41 +08:00
charlie 5cc42f5528 add 2025-09-22 17:49:41 +08:00