Skip to content

Commit f961327

Browse files
committed
fix: convert uint as pointer of uint
1 parent 221803a commit f961327

File tree

1 file changed

+1
-1
lines changed
  • pkg/commands/internal/migrate/cloner

1 file changed

+1
-1
lines changed

pkg/commands/internal/migrate/cloner/cloner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ func convertType(expr ast.Expr) ast.Expr {
142142
}
143143

144144
switch ident.Name {
145-
case "bool", "string", "int", "int8", "int16", "int32", "int64", "float32", "float64":
145+
case "bool", "string", "uint", "uint8", "uint16", "uint32", "uint64", "int", "int8", "int16", "int32", "int64", "float32", "float64":
146146
return &ast.StarExpr{X: ident}
147147

148148
default:

0 commit comments

Comments
 (0)