Fix missing import in generation
This commit is contained in:
parent
ab88d8511d
commit
18e76aa081
1 changed files with 5 additions and 1 deletions
|
@ -157,12 +157,16 @@ var defaultTemplateImports = imports{
|
||||||
|
|
||||||
var defaultSingletonTemplateImports = map[string]imports{
|
var defaultSingletonTemplateImports = map[string]imports{
|
||||||
"boil_helpers": {
|
"boil_helpers": {
|
||||||
standard: importList{},
|
|
||||||
thirdParty: importList{
|
thirdParty: importList{
|
||||||
`"github.com/vattle/sqlboiler/boil"`,
|
`"github.com/vattle/sqlboiler/boil"`,
|
||||||
`"github.com/vattle/sqlboiler/boil/qm"`,
|
`"github.com/vattle/sqlboiler/boil/qm"`,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"boil_types": {
|
||||||
|
thirdParty: importList{
|
||||||
|
`"github.com/pkg/errors"`,
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
var defaultTestTemplateImports = imports{
|
var defaultTestTemplateImports = imports{
|
||||||
|
|
Loading…
Reference in a new issue