From e220ab3d347f2694005b7aa125349ef2a2bf9b67 Mon Sep 17 00:00:00 2001 From: Hein Date: Wed, 7 Jan 2026 10:23:37 +0200 Subject: [PATCH] =?UTF-8?q?refactor(reflection):=20=F0=9F=9B=A0=EF=B8=8F?= =?UTF-8?q?=20comment=20out=20ToSnakeCase=20usage=20in=20MapToStruct?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pkg/reflection/model_utils.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/reflection/model_utils.go b/pkg/reflection/model_utils.go index 60a3208..150ae9d 100644 --- a/pkg/reflection/model_utils.go +++ b/pkg/reflection/model_utils.go @@ -973,7 +973,7 @@ func MapToStruct(dataMap map[string]interface{}, target interface{}) error { // 4. Field name variations columnNames = append(columnNames, field.Name) columnNames = append(columnNames, strings.ToLower(field.Name)) - //columnNames = append(columnNames, ToSnakeCase(field.Name)) + // columnNames = append(columnNames, ToSnakeCase(field.Name)) // Map all column name variations to this field index for _, colName := range columnNames {