mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 17:46:58 -05:00
fix
This commit is contained in:
parent
2bdc86049a
commit
007a15bd79
@ -75,9 +75,9 @@ func getGeoDataLoaderImplementation(name string) (LoaderImplementation, error) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func GetGeoDataLoader(name string) (Loader, error) {
|
func GetGeoDataLoader(name string) (Loader, error) {
|
||||||
if loadImpl, err := getGeoDataLoaderImplementation(name); err == nil {
|
loadImpl, err := getGeoDataLoaderImplementation(name)
|
||||||
|
if err == nil {
|
||||||
return &loader{loadImpl}, nil
|
return &loader{loadImpl}, nil
|
||||||
} else { // nolint:golint
|
|
||||||
return nil, err
|
|
||||||
}
|
}
|
||||||
|
return nil, err
|
||||||
}
|
}
|
||||||
|
@ -3,7 +3,7 @@ package standard
|
|||||||
import (
|
import (
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/golang/protobuf/proto"
|
"google.golang.org/protobuf/proto"
|
||||||
|
|
||||||
"github.com/v2fly/v2ray-core/v4/app/router"
|
"github.com/v2fly/v2ray-core/v4/app/router"
|
||||||
"github.com/v2fly/v2ray-core/v4/common/platform/filesystem"
|
"github.com/v2fly/v2ray-core/v4/common/platform/filesystem"
|
||||||
|
Loading…
Reference in New Issue
Block a user