Skip to content

Commit

Permalink
Mock: refine go generate command
Browse files Browse the repository at this point in the history
  • Loading branch information
Loyalsoldier committed Aug 25, 2020
1 parent e036db8 commit f3368b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mocks.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package core

//go:generate go get -u github.com/golang/mock/gomock
//go:generate go install github.com/golang/mock/gomock
//go:generate go install github.com/golang/mock/mockgen

//go:generate mockgen -package mocks -destination testing/mocks/io.go -mock_names Reader=Reader,Writer=Writer io Reader,Writer
Expand Down

0 comments on commit f3368b1

Please sign in to comment.