chore: format the code (#3243)

This commit is contained in:
Kevin Wan 2023-05-12 10:38:05 +08:00 committed by GitHub
parent b6906b5d21
commit e4a1b7bb39
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -114,7 +114,7 @@ func primitiveType(tp string) (string, bool) {
switch tp {
case "string":
return "string", true
case "int", "int8","int16", "int32", "int64", "uint", "uint8", "uint16", "uint32", "uint64":
case "int", "int8", "int16", "int32", "int64", "uint", "uint8", "uint16", "uint32", "uint64":
return "number", true
case "float", "float32", "float64":
return "number", true