diff --git a/pkg/moq/moq.go b/pkg/moq/moq.go index 3d3955a..3479979 100644 --- a/pkg/moq/moq.go +++ b/pkg/moq/moq.go @@ -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