mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 17:46:58 -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
|
||||
|
||||
//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
|
||||
|
Loading…
Reference in New Issue
Block a user