mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-18 14:19:48 +03:00
Fix: format
This commit is contained in:
@ -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{
|
||||
|
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user