Commit Graph

11 Commits

Author SHA1 Message Date
Lucas Bremgartner
b21592468b Add static interface implementation check
Add an additional line of code per interface to the generated mock file,
which allows the go compiler to statically check if the mock implements
the mocked interface.
2019-01-17 20:20:37 +01:00
Mat Ryer
ee06b7e813
Merge branch 'master' into patch-1 2018-03-07 09:07:17 +00:00
Stefan Warman
565e1649f5 Use x/tools/go/loader to load packages instead of custom importer. 2018-02-05 14:29:41 +01:00
Uwe Dauernheim
1b1675c967
Make generated mock file non-executable 2017-12-25 14:03:29 +01:00
Mat Ryer
df49857c18 added vendor example 2017-07-11 20:02:46 +01:00
Mat Ryer
4741efe1e6 minor tweaks 2016-10-14 10:57:57 +01:00
Mat Ryer
18033310b9 added go generate example 2016-09-21 22:02:49 +01:00
Mat Ryer
5d872a540b minor improvements 2016-09-21 21:55:13 +01:00
Mat Ryer
3dc5361304 fleshed out main tool 2016-09-21 21:49:12 +01:00
Mat Ryer
37723c8bd4 fixed #3 - correct type names 2016-09-21 21:39:26 +01:00
Mat Ryer
6a2af83edc early commit for moq command 2016-08-29 13:00:18 +01:00