Use int64 instead of float64 and fix some capitalization

This commit is contained in:
Elara 2023-09-24 20:16:12 -07:00
parent 7e4c13d031
commit fb99765a2a
2 changed files with 1394 additions and 1392 deletions

View File

@ -72,7 +72,7 @@ func transformType(name, t string) string {
switch t { switch t {
case "number": case "number":
return "float64" return "int64"
case "boolean": case "boolean":
return "bool" return "bool"
default: default:
@ -89,6 +89,8 @@ func transformFieldName(s string) string {
"Jwt", "JWT", "Jwt", "JWT",
"Crud", "CRUD", "Crud", "CRUD",
"Pm", "PM", "Pm", "PM",
"Totp", "TOTP",
"2fa", "2FA",
).Replace(s) ).Replace(s)
return s return s
} }

File diff suppressed because it is too large Load Diff