1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-11-17 18:06:15 -05:00

Mock: refine go generate command

This commit is contained in:
loyalsoldier 2020-08-25 16:23:33 +08:00
parent e036db835e
commit f3368b1d79
No known key found for this signature in database
GPG Key ID: 23829BBC1ACF2C90

View File

@ -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