Fix missing import in generation

This commit is contained in:
Aaron L 2016-08-13 16:10:17 -07:00
parent ab88d8511d
commit 18e76aa081

View file

@ -157,12 +157,16 @@ var defaultTemplateImports = imports{
var defaultSingletonTemplateImports = map[string]imports{
"boil_helpers": {
standard: importList{},
thirdParty: importList{
`"github.com/vattle/sqlboiler/boil"`,
`"github.com/vattle/sqlboiler/boil/qm"`,
},
},
"boil_types": {
thirdParty: importList{
`"github.com/pkg/errors"`,
},
},
}
var defaultTestTemplateImports = imports{