summaryrefslogtreecommitdiff
path: root/go.mod
diff options
context:
space:
mode:
authorLoyalsoldier <[email protected]>2024-07-08 13:54:29 +0800
committerLoyalsoldier <[email protected]>2024-07-08 14:23:41 +0800
commit56ddd1bd048e6d42645f36cd473a211dca90b5dc (patch)
tree1832981ab31a2c457992e053f0dd94453ac475f5 /go.mod
parent8c55b323a91acff7cc7f839a371ec9510fe60039 (diff)
Refactor: CLI commands
old usage: geoip -l new usage: geoip list old usage: geoip -c config.json new usage: geoip convert -c config.json
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod5
1 files changed, 4 insertions, 1 deletions
diff --git a/go.mod b/go.mod
index 37f698b3..9f17a26b 100644
--- a/go.mod
+++ b/go.mod
@@ -6,8 +6,9 @@ toolchain go1.21.10
require (
github.com/maxmind/mmdbwriter v1.0.0
- github.com/oschwald/maxminddb-golang v1.13.0
+ github.com/oschwald/maxminddb-golang v1.13.1
github.com/sagernet/sing-box v1.9.3
+ github.com/spf13/cobra v1.8.1
github.com/v2fly/v2ray-core/v5 v5.16.1
go4.org/netipx v0.0.0-20231129151722-fdeea329fbba
google.golang.org/protobuf v1.34.2
@@ -17,6 +18,7 @@ require (
require (
github.com/adrg/xdg v0.4.0 // indirect
github.com/golang/protobuf v1.5.4 // indirect
+ github.com/inconshreveable/mousetrap v1.1.0 // indirect
github.com/kr/text v0.2.0 // indirect
github.com/miekg/dns v1.1.59 // indirect
github.com/pelletier/go-toml v1.9.5 // indirect
@@ -24,6 +26,7 @@ require (
github.com/quic-go/quic-go v0.43.0 // indirect
github.com/sagernet/sing v0.4.1 // indirect
github.com/sagernet/sing-dns v0.2.0 // indirect
+ github.com/spf13/pflag v1.0.5 // indirect
go.starlark.net v0.0.0-20230612165344-9532f5667272 // indirect
golang.org/x/crypto v0.23.0 // indirect
golang.org/x/mod v0.17.0 // indirect