Merge branch 'master' into master

This commit is contained in:
Mat Ryer 2019-02-11 10:48:04 +00:00 committed by GitHub
commit c26fdca584
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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