Skip to content
This repository has been archived by the owner on Apr 8, 2019. It is now read-only.

Commit

Permalink
Fix mock-gen (#136)
Browse files Browse the repository at this point in the history
  • Loading branch information
cw9 committed Apr 16, 2018
1 parent d0873c0 commit 6dfd319
Show file tree
Hide file tree
Showing 4 changed files with 209 additions and 154 deletions.
144 changes: 95 additions & 49 deletions checked/checked_mock.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions generated/mocks/generate.go
Expand Up @@ -18,8 +18,8 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
// THE SOFTWARE.

//go:generate sh -c "mockgen -package=ident github.com/m3db/m3x/ident ID,TagIterator,MapKey | mockclean -pkg github.com/m3db/m3x/ident -out $GOPATH/src/github.com/m3db/m3x/ident/ident_mock.go"
//go:generate sh -c "mockgen -package=checked github.com/m3db/m3x/checked Bytes | mockclean -pkg github.com/m3db/m3x/checked -out $GOPATH/src/github.com/m3db/m3x/checked/checked_mock.go"
//go:generate sh -c "mockgen -package=pool github.com/m3db/m3x/pool CheckedBytesPool,BytesPool | mockclean -pkg github.com/m3db/m3x/pool -out $GOPATH/src/github.com/m3db/m3x/pool/pool_mock.go"
//go:generate sh -c "mockgen -package=ident $PACKAGE/ident ID,TagIterator | mockclean -pkg $PACKAGE/ident -out $GOPATH/src/$PACKAGE/ident/ident_mock.go"
//go:generate sh -c "mockgen -package=checked $PACKAGE/checked Bytes | mockclean -pkg $PACKAGE/checked -out $GOPATH/src/$PACKAGE/checked/checked_mock.go"
//go:generate sh -c "mockgen -package=pool $PACKAGE/pool CheckedBytesPool,BytesPool | mockclean -pkg $PACKAGE/pool -out $GOPATH/src/$PACKAGE/pool/pool_mock.go"

package generated

0 comments on commit 6dfd319

Please sign in to comment.