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 {
|
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
|
||||||
}
|
}
|
||||||
|
2728
types/types.gen.go
2728
types/types.gen.go
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user