1
0
mirror of https://github.com/beego/bee.git synced 2025-07-01 17:20:17 +00:00

add ineffassign check

This commit is contained in:
astaxie
2017-04-28 22:53:38 +08:00
parent 823dca76d5
commit e1f3353511
6 changed files with 9 additions and 12 deletions

View File

@ -369,7 +369,7 @@ func writeHproseModelFiles(tables []*Table, mPath string, selectedTables map[str
continue
}
}
template := ""
var template string
if tb.Pk == "" {
template = HproseStructModelTPL
} else {