# Conflicts: # .gitignore
@@ -35,3 +35,4 @@ bin/
.idea/
*.swp
+
@@ -392,7 +392,7 @@ func getStructInfo(st reflect.Type) (*structInfo, error) {
if tag != "" {
info.Key = tag
} else {
- info.Key = strings.ToLower(field.Name)
+ info.Key = strings.ToLower(field.Name[0:1]) + field.Name[1:]
}
if _, found = fieldsMap[info.Key]; found {