mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-06-14 14:59:58 -04:00
update mocks
This commit is contained in:
4
mocks.go
4
mocks.go
@@ -2,5 +2,5 @@ package core
|
||||
|
||||
//go:generate go get -u github.com/golang/mock/gomock
|
||||
//go:generate go install github.com/golang/mock/mockgen
|
||||
//go:generate mockgen -package mocks -destination v2ray.com/core/testing/mocks/dns.go -mock_names Client=MockDNSClient v2ray.com/core/features/dns Client
|
||||
//go:generate mockgen -package mocks -destination v2ray.com/core/testing/mocks/proxy.go -mock_names Inbound=MockProxyInbound,Outbound=MockProxyOutbound v2ray.com/core/proxy Inbound,Outbound
|
||||
//go:generate mockgen -package mocks -destination testing/mocks/dns.go -mock_names Client=DNSClient v2ray.com/core/features/dns Client
|
||||
//go:generate mockgen -package mocks -destination testing/mocks/proxy.go -mock_names Inbound=ProxyInbound,Outbound=ProxyOutbound v2ray.com/core/proxy Inbound,Outbound
|
||||
|
||||
Reference in New Issue
Block a user