Fix: format

This commit is contained in:
JimhHan 2021-03-26 17:30:24 +08:00
parent fc8b580017
commit 4eb3acb4dd
No known key found for this signature in database
GPG key ID: 48D5D7CF95157AC5
14 changed files with 24 additions and 22 deletions

View file

@ -1,9 +1,10 @@
package domain
import (
"strings"
"github.com/xtls/xray-core/common/matcher/str"
"github.com/xtls/xray-core/features/routing"
"strings"
)
var matcherTypeMap = map[MatchingType]str.Type{

View file

@ -1,13 +1,12 @@
package geoip
import (
"github.com/xtls/xray-core/common/net"
"github.com/xtls/xray-core/infra/conf/common"
"runtime"
"strconv"
"strings"
"github.com/golang/protobuf/proto"
"github.com/xtls/xray-core/common/net"
"github.com/xtls/xray-core/common/platform/filesystem"
)
@ -93,7 +92,7 @@ func find(data, code []byte) []byte {
}
}
func ParaseIPList(ips common.StringList) ([]*GeoIP, error) {
func ParaseIPList(ips []string) ([]*GeoIP, error) {
var geoipList []*GeoIP
var customCidrs []*CIDR