Browse Source

fix name

main
cobb 4 years ago
parent
commit
9506b9975f
  1. 2
      parser.go

2
parser.go

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

Loading…
Cancel
Save