mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-22 01:57:12 -05:00
Mock: refine go generate command
This commit is contained in:
parent
e036db835e
commit
f3368b1d79
2
mocks.go
2
mocks.go
@ -1,6 +1,6 @@
|
|||||||
package core
|
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 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
|
//go:generate mockgen -package mocks -destination testing/mocks/io.go -mock_names Reader=Reader,Writer=Writer io Reader,Writer
|
||||||
|
Loading…
Reference in New Issue
Block a user