Commit Graph

39 Commits

Author SHA1 Message Date
uji
e7d0d3b298
Update installation cmd on README for go1.16+ (#147) 2021-06-25 13:01:29 +05:30
Mat Ryer
98d503a331
Removed credit line given major contributrions 2021-02-01 19:22:42 +00:00
Mat Ryer
0d9680fd45 small readme tweak 2020-09-18 09:58:15 +01:00
Mat Ryer
171f1993f4 small edit: word wrap 2020-09-18 09:53:31 +01:00
Mat Ryer
ca877b5ffb TABS 2020-09-18 09:52:55 +01:00
Umputun
be64288727
add skip-ensure flag to avoid import cycle (#140)
For mocks generated outside of the tested package with tests lives inside the same package as the tested code (i.e. pkg_test not used) --skip-ensure suppresses import of the source pkg

https://github.com/matryer/moq/issues/139

fix typo in readme
2020-09-17 09:49:08 +01:00
Suhas Karanth
005b899ec8
Add noop formatter as an option (#133)
Useful to print the generated source code for debugging.
2020-08-16 12:55:01 +05:30
Suhas Karanth
e3d1bd8a7e Update README for stub flag 2020-08-16 12:29:28 +05:30
Suhas Karanth
80177adba8 Replace Travis CI with GitHub Actions workflow 2020-08-16 11:56:22 +05:30
Suhas Karanth
7721994d1b
Add fmt flag to specify formatter (#117)
- Support formatting output with gofmt(default) or goimports via flag.
- Introduce moq.Config struct to configure moq.Mocker instance. This
  breaks backward compatibility but facilitates it in the future if and
  when any features are added.
- Use golden file tests for validating formatters. Use 
  github.com/pmezard/go-difflib to print the diff between expected and
  actual.
2020-03-10 18:38:14 +05:30
Suhas Karanth
1206bf1e2a
Allow aliasing interface name (#110)
Implementation based on #57.
2019-11-05 13:13:49 +05:30
Vegard Løkken
ea57f91120 Fix typo in README (#107) 2019-11-03 07:54:11 +00:00
Dmitry Matrosov
cbc95e6b5a Update the example in the README
The example used an outdated method `CallsTo` which is no longer generated when creating a mock.
2017-09-11 09:54:35 +10:00
Mat Ryer
a0446da590 Updated README 2017-07-11 21:30:08 +01:00
Mat Ryer
000d593524 improved the way calls worked 2017-07-07 15:12:32 +01:00
Mat Ryer
09e12df472 added tip 2017-07-07 14:49:48 +01:00
Mat Ryer
6b7993bc61 added Go report card 2016-11-06 12:36:57 +00:00
Mat Ryer
e7fe845de9 Update README.md 2016-10-14 14:01:13 +01:00
Mat Ryer
5456e7d511 added preview screenshot 2016-10-14 10:59:38 +01:00
Mat Ryer
758ca3f6a6 added build status image 2016-10-06 15:15:39 +01:00
Mat Ryer
b082cf0fd0 tiny typos 2016-09-22 09:29:05 +01:00
Mat Ryer
057dda2a5c removed duplicated section 2016-09-22 09:27:34 +01:00
David Hernandez
e3b1a1ddf1 added installing section 2016-09-22 16:35:56 +09:00
Mat Ryer
5d582c3c68 added actual usage 2016-09-21 22:10:12 +01:00
Mat Ryer
9f7e94bcae removed extra go generate example 2016-09-21 22:07:00 +01:00
Mat Ryer
165a51d1d7 added go:generate example 2016-09-21 22:05:31 +01:00
Mat Ryer
86b99f5859 added explanation 2016-09-21 16:03:39 +01:00
Mat Ryer
e41b7bc222 added credit 2016-09-01 10:30:27 +01:00
Mat Ryer
5f095748f8 updated docs 2016-08-30 13:04:56 +01:00
Mat Ryer
ebb408dc63 trying small logo 2016-08-30 13:02:57 +01:00
Mat Ryer
54d4fc3a8a tweaked title 2016-08-30 13:01:13 +01:00
Mat Ryer
3d271694d8 added logo 2016-08-30 13:00:43 +01:00
Mat Ryer
a788edc546 added another tip 2016-08-29 13:34:34 +01:00
Mat Ryer
eafb1d758c added tips 2016-08-29 13:33:28 +01:00
Mat Ryer
2f4206a8e6 updates 2016-08-29 13:31:32 +01:00
Mat Ryer
8a4743a1d2 added help 2016-08-29 13:30:24 +01:00
Mat Ryer
a4c5fa4cb9 updated README 2016-08-29 13:25:35 +01:00
Mat Ryer
6a2af83edc early commit for moq command 2016-08-29 13:00:18 +01:00
Mat Ryer
757a93b481 Initial commit 2016-08-29 11:00:17 +01:00