浏览代码

chore: format the code (#3243)

Kevin Wan 1 年之前
父节点
当前提交
e4a1b7bb39
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      tools/goctl/api/tsgen/util.go

+ 1 - 1
tools/goctl/api/tsgen/util.go

@@ -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