Skip to content

Commit

Permalink
ip
Browse files Browse the repository at this point in the history
  • Loading branch information
malikshi authored Dec 1, 2023
1 parent 5e21b0f commit 3b1276f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 0 additions & 2 deletions sing-geoip/go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module sing-geoip

go 1.18

require (
Expand All @@ -9,7 +8,6 @@ require (
github.com/oschwald/maxminddb-golang v1.12.0
github.com/sagernet/sing v0.2.18-0.20231129075305-eb56a60214be
github.com/sagernet/sing-box v1.6.8-0.20231129123339-5a56487cf544
github.com/sirupsen/logrus
)

require (
Expand Down
3 changes: 1 addition & 2 deletions sing-geoip/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ import (
C "github.com/sagernet/sing-box/constant"
"github.com/sagernet/sing-box/log"
"github.com/sagernet/sing-box/option"
"github.com/sirupsen/logrus"
"github.com/sagernet/sing/common"
E "github.com/sagernet/sing/common/exceptions"
)
Expand Down Expand Up @@ -49,7 +48,7 @@ func fetch(from string) (*github.RepositoryRelease, error) {
}

func get(downloadURL *string) ([]byte, error) {
logrus.Info("download ", *downloadURL)
log.Info("download ", *downloadURL)
response, err := http.Get(*downloadURL)
if err != nil {
return nil, err
Expand Down

0 comments on commit 3b1276f

Please sign in to comment.