added logo

This commit is contained in:
Mat Ryer 2016-08-30 13:00:43 +01:00
parent 61334a79ed
commit 3d271694d8
2 changed files with 5 additions and 3 deletions

View File

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB