|
|
@ -202,7 +202,7 @@ func makeCode(stmt *ast.CreateTableStmt, opt options) (string, []string, error) |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
if opt.ZhTag { |
|
|
if opt.ZhTag { |
|
|
tags = append(tags, "zh", field.Comment) |
|
|
|
|
|
|
|
|
tags = append(tags, "zh-cn", field.Comment) |
|
|
} |
|
|
} |
|
|
field.Tag = makeTagStr(tags) |
|
|
field.Tag = makeTagStr(tags) |
|
|
|
|
|
|
|
|
|