added logo
This commit is contained in:
parent
61334a79ed
commit
3d271694d8
@ -1,22 +1,24 @@
|
|||||||
|
![moq logo](moq-logo.png)
|
||||||
|
|
||||||
# moq
|
# moq
|
||||||
|
|
||||||
Interface mocking tool for go generate.
|
Interface mocking tool for go generate.
|
||||||
|
|
||||||
By [Mat Ryer](https://twitter.com/matryer) and [David Hernandez](https://github.com/dahernan), with ideas lovingly stolen from [Ernesto Jimenez](https://github.com/ernesto-jimenez).
|
By [Mat Ryer](https://twitter.com/matryer) and [David Hernandez](https://github.com/dahernan), with ideas lovingly stolen from [Ernesto Jimenez](https://github.com/ernesto-jimenez).
|
||||||
|
|
||||||
## Usage
|
### Usage
|
||||||
|
|
||||||
```
|
```
|
||||||
moq InterfaceName -out mocks_test.go
|
moq InterfaceName -out mocks_test.go
|
||||||
```
|
```
|
||||||
|
|
||||||
## Install
|
### Install
|
||||||
|
|
||||||
```
|
```
|
||||||
go install github.com/matryer/moq
|
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.
|
||||||
|
|
||||||
|
BIN
moq-logo.png
Normal file
BIN
moq-logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 21 KiB |
Loading…
Reference in New Issue
Block a user