From 3e65b4f6281ddc4039a27a62428db8a95ffc3677 Mon Sep 17 00:00:00 2001 From: Anhgelus Morhtuuzh Date: Thu, 22 Jan 2026 21:53:29 +0100 Subject: refactor(): completely remove old gokord and finish to update everything to use contexts --- dynamicid/encoding.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'dynamicid/encoding.go') 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 -- cgit v1.2.3