mirror of
https://github.com/v2ray/v2ray-core.git
synced 2024-04-21 12:31:52 +00:00
Mock: refine go generate command
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user