Skip to content

Commit

Permalink
use github.com/matryer/moq instead of gomock
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfmin committed Oct 18, 2018
1 parent af48e17 commit 879b05e
Show file tree
Hide file tree
Showing 3 changed files with 119 additions and 60 deletions.
94 changes: 60 additions & 34 deletions template/mock/mock.go

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

2 changes: 1 addition & 1 deletion template/modd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
}

api.go {
prep: mockgen -source=api.go -destination=mock/mock.go -package=mock
prep: moq -out=mock/mock.go -pkg=mock . TemplateService
}
83 changes: 58 additions & 25 deletions template/spec.pb.go

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

0 comments on commit 879b05e

Please sign in to comment.