1
0
mirror of https://github.com/v2fly/v2ray-core.git synced 2024-06-10 01:40:44 +00:00
This commit is contained in:
loyalsoldier 2021-05-04 22:04:08 +08:00 committed by Shelikhoo
parent 2bdc86049a
commit 007a15bd79
No known key found for this signature in database
GPG Key ID: C4D5E79D22B25316
2 changed files with 4 additions and 4 deletions

View File

@ -75,9 +75,9 @@ func getGeoDataLoaderImplementation(name string) (LoaderImplementation, 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
} else { // nolint:golint
return nil, err
}
return nil, err
}

View File

@ -3,7 +3,7 @@ package standard
import (
"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/common/platform/filesystem"