diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-01-22 21:53:29 +0100 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-01-22 21:53:29 +0100 |
| commit | 3e65b4f6281ddc4039a27a62428db8a95ffc3677 (patch) | |
| tree | b1005f908be45aa47da48b604f3863ef23a3d7ea /dynamicid/encoding.go | |
| parent | 8255a2e51454049f3ac1532f6e1125f528691c37 (diff) | |
refactor(): completely remove old gokord and finish to update everything to use contexts
Diffstat (limited to 'dynamicid/encoding.go')
| -rw-r--r-- | dynamicid/encoding.go | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/dynamicid/encoding.go b/dynamicid/encoding.go index 23d00db..2dd216d 100644 --- a/dynamicid/encoding.go +++ b/dynamicid/encoding.go @@ -9,10 +9,10 @@ import ( ) var ( - stringReflectType = reflect.TypeOf(string("")) - intReflectType = reflect.TypeOf(int(0)) - uintReflectType = reflect.TypeOf(uint(0)) - boolReflectType = reflect.TypeOf(bool(false)) + stringReflectType = reflect.TypeFor[string]() + intReflectType = reflect.TypeFor[int]() + uintReflectType = reflect.TypeFor[uint]() + boolReflectType = reflect.TypeFor[bool]() ) // UnmarshallCSV record into a struct in-place |
