Use int64 instead of float64 and fix some capitalization
This commit is contained in:
parent
7e4c13d031
commit
fb99765a2a
@ -72,7 +72,7 @@ func transformType(name, t string) string {
|
||||
|
||||
switch t {
|
||||
case "number":
|
||||
return "float64"
|
||||
return "int64"
|
||||
case "boolean":
|
||||
return "bool"
|
||||
default:
|
||||
@ -89,6 +89,8 @@ func transformFieldName(s string) string {
|
||||
"Jwt", "JWT",
|
||||
"Crud", "CRUD",
|
||||
"Pm", "PM",
|
||||
"Totp", "TOTP",
|
||||
"2fa", "2FA",
|
||||
).Replace(s)
|
||||
return s
|
||||
}
|
||||
|
2782
types/types.gen.go
2782
types/types.gen.go
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user