mirror of
https://github.com/steveiliop56/tinyauth.git
synced 2026-02-26 10:52:02 +00:00
refactor: use lowercase name to mark dynamic values
This commit is contained in:
@@ -110,7 +110,7 @@ func buildMapPaths(field reflect.StructField, parentPath string, paths *[]Path)
|
||||
return
|
||||
}
|
||||
|
||||
mapPath := parentPath + strings.ToUpper(field.Name) + "_NAME_"
|
||||
mapPath := parentPath + strings.ToUpper(field.Name) + "_name_"
|
||||
valueType := fieldType.Elem()
|
||||
|
||||
if valueType.Kind() == reflect.Struct {
|
||||
|
||||
Reference in New Issue
Block a user