mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-05-05 03:38:40 +00:00
Fix: format
This commit is contained in:
parent
fc8b580017
commit
4eb3acb4dd
14 changed files with 24 additions and 22 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue