1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2026-01-19 15:45:20 -05:00

Lint: update linter config & fix code style (#1089)

* Lint: update linter config
* Fix: code style
This commit is contained in:
Loyalsoldier
2021-06-22 22:36:23 +08:00
committed by GitHub
parent 841469bd17
commit d7a202a705
11 changed files with 15 additions and 16 deletions

View File

@@ -26,7 +26,7 @@ func (ctx *ResolvableContext) GetTargetIPs() []net.IP {
}
if domain := ctx.GetTargetDomain(); len(domain) != 0 {
var lookupFunc = ctx.dnsClient.LookupIP
lookupFunc := ctx.dnsClient.LookupIP
ipOption := &dns.IPOption{
IPv4Enable: true,
IPv6Enable: true,