diff --git a/pkg/moq/moq.go b/pkg/moq/moq.go index c2a27ee..dfd2ae9 100644 --- a/pkg/moq/moq.go +++ b/pkg/moq/moq.go @@ -174,6 +174,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