matryer / moq

Interface mocking tool for go generate
http://bit.ly/meetmoq
MIT License
2k stars 127 forks source link

Add aliases to imports #97

Closed dramich closed 5 years ago

dramich commented 5 years ago

Problem: Two packages of the same name cant be imported

Solution: Alias all imports to stop import conflicts

Fixes https://github.com/matryer/moq/issues/94

dramich commented 5 years ago

@matryer Build fails due to go version not being supported in golang.org/x/tools/go/packages. I am happy to drop those versions from the travis file or open a separate pr to do so.