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
|
715033f650
|
fix
|
2025-09-29 15:28:09 +08:00 |
|
charlie
|
03941068d8
|
fix map to embedded struct
|
2025-09-28 17:32:36 +08:00 |
|
charlie
|
5c4d428b5e
|
optimize
|
2025-09-28 16:16:30 +08:00 |
|
charlie
|
3482b9b6e5
|
update
|
2025-09-28 09:15:42 +08:00 |
|
charlie
|
a6e0c5e740
|
update
|
2025-09-26 18:22:17 +08:00 |
|
charlie
|
61f7bccdf1
|
fix error
|
2025-09-25 18:20:39 +08:00 |
|
charlie
|
de139d0575
|
map to anonymous field
|
2025-09-25 10:00:19 +08:00 |
|
charlie
|
71b893cc54
|
type convert
|
2025-09-24 15:04:56 +08:00 |
|
charlie
|
442cff29ff
|
map->struct
|
2025-09-23 18:05:41 +08:00 |
|
charlie
|
80c5cb350b
|
struct slice map
|
2025-09-23 13:58:04 +08:00 |
|
charlie
|
5cc42f5528
|
add
|
2025-09-22 17:49:41 +08:00 |
|