Merge branch 'master' into master
This commit is contained in:
commit
c26fdca584
@ -173,6 +173,7 @@ func (m *Mocker) Mock(w io.Writer, name ...string) error {
|
||||
|
||||
if tpkg.Name() != m.pkgName {
|
||||
doc.SourcePackagePrefix = tpkg.Name() + "."
|
||||
doc.Imports = append(doc.Imports, tpkg.Path())
|
||||
}
|
||||
|
||||
var buf bytes.Buffer
|
||||
|
Loading…
Reference in New Issue
Block a user