removed duplicated section
This commit is contained in:
parent
e3b1a1ddf1
commit
057dda2a5c
@ -47,12 +47,6 @@ type MyInterface interface {
|
|||||||
|
|
||||||
Then run `go generate` for your package.
|
Then run `go generate` for your package.
|
||||||
|
|
||||||
### Install
|
|
||||||
|
|
||||||
```
|
|
||||||
go install github.com/matryer/moq
|
|
||||||
```
|
|
||||||
|
|
||||||
### How to use it
|
### How to use it
|
||||||
|
|
||||||
Mocking interfaces is a nice way to write unit tests where you can easily control the behaviour of the mocked object.
|
Mocking interfaces is a nice way to write unit tests where you can easily control the behaviour of the mocked object.
|
||||||
|
Loading…
Reference in New Issue
Block a user