1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-06-09 20:49:10 -04:00

Feat: use Go v1.16 & support Apple Silicon (#686)

This commit is contained in:
Loyalsoldier
2021-02-19 13:24:19 +08:00
committed by GitHub
parent 6524e52439
commit a545bfe2c8
11 changed files with 111 additions and 114 deletions

View File

@@ -1,5 +1,6 @@
package core
//go:generate go get -v github.com/golang/mock/mockgen
//go:generate go run github.com/golang/mock/mockgen -package mocks -destination testing/mocks/io.go -mock_names Reader=Reader,Writer=Writer io Reader,Writer
//go:generate go run github.com/golang/mock/mockgen -package mocks -destination testing/mocks/log.go -mock_names Handler=LogHandler github.com/v2fly/v2ray-core/v4/common/log Handler
//go:generate go run github.com/golang/mock/mockgen -package mocks -destination testing/mocks/mux.go -mock_names ClientWorkerFactory=MuxClientWorkerFactory github.com/v2fly/v2ray-core/v4/common/mux ClientWorkerFactory