mirror of
https://github.com/zhufuyi/sponge.git
synced 2025-10-22 00:20:08 +08:00
fix ci-lint
This commit is contained in:
@@ -520,6 +520,7 @@ func makeCode(stmt *ast.CreateTableStmt, opt options) (*codeText, error) {
|
|||||||
}, nil
|
}, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// nolint
|
||||||
func getModelStructCode(data tmplData, importPaths []string, isEmbed bool) (string, []string, error) {
|
func getModelStructCode(data tmplData, importPaths []string, isEmbed bool) (string, []string, error) {
|
||||||
// filter to ignore field fields
|
// filter to ignore field fields
|
||||||
var newFields = []tmplField{}
|
var newFields = []tmplField{}
|
||||||
|
Reference in New Issue
Block a user