mirror of
https://github.com/zu1k/nali.git
synced 2025-01-22 13:19:02 +08:00
update deps
This commit is contained in:
parent
0151892abb
commit
bf5c917155
@ -4,9 +4,8 @@ import (
|
||||
"log"
|
||||
"os"
|
||||
|
||||
"github.com/zu1k/nali/internal/app"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
"github.com/zu1k/nali/internal/app"
|
||||
)
|
||||
|
||||
var rootCmd = &cobra.Command{
|
||||
|
4
go.mod
4
go.mod
@ -3,7 +3,7 @@ module github.com/zu1k/nali
|
||||
go 1.14
|
||||
|
||||
require (
|
||||
github.com/fatih/color v1.12.0 // indirect
|
||||
github.com/fatih/color v1.12.0
|
||||
github.com/ipipdotnet/ipdb-go v1.3.1
|
||||
github.com/oschwald/geoip2-golang v1.5.0
|
||||
github.com/saracen/go7z v0.0.0-20191010121135-9c09b6bd7fda
|
||||
@ -11,5 +11,5 @@ require (
|
||||
github.com/saracen/solidblock v0.0.0-20190426153529-45df20abab6f // indirect
|
||||
github.com/spf13/cobra v1.2.1
|
||||
github.com/ulikunitz/xz v0.5.10 // indirect
|
||||
golang.org/x/text v0.3.6
|
||||
golang.org/x/text v0.3.7
|
||||
)
|
||||
|
4
go.sum
4
go.sum
@ -413,8 +413,8 @@ golang.org/x/text v0.3.2/go.mod h1:bEr9sfX3Q8Zfm5fL9x+3itogRgK3+ptLWKqgva+5dAk=
|
||||
golang.org/x/text v0.3.3/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||
golang.org/x/text v0.3.4/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||
golang.org/x/text v0.3.5/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||
golang.org/x/text v0.3.6 h1:aRYxNxv6iGQlyVaZmk6ZgYEDa+Jg18DxebPSrd6bg1M=
|
||||
golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ=
|
||||
golang.org/x/text v0.3.7 h1:olpwvP2KacW1ZWvsR7uQhoyTYvKAupfQrRGBFM352Gk=
|
||||
golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ=
|
||||
golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ=
|
||||
|
@ -4,13 +4,11 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/zu1k/nali/pkg/ipip"
|
||||
|
||||
"github.com/zu1k/nali/pkg/geoip"
|
||||
|
||||
"github.com/zu1k/nali/internal/constant"
|
||||
"github.com/zu1k/nali/pkg/cdn"
|
||||
"github.com/zu1k/nali/pkg/dbif"
|
||||
"github.com/zu1k/nali/pkg/geoip"
|
||||
"github.com/zu1k/nali/pkg/ipip"
|
||||
"github.com/zu1k/nali/pkg/qqwry"
|
||||
"github.com/zu1k/nali/pkg/zxipv6wry"
|
||||
)
|
||||
|
@ -4,7 +4,6 @@ import (
|
||||
"strings"
|
||||
|
||||
"github.com/fatih/color"
|
||||
|
||||
"github.com/zu1k/nali/pkg/dbif"
|
||||
)
|
||||
|
||||
|
@ -4,9 +4,7 @@ import (
|
||||
"fmt"
|
||||
|
||||
"github.com/zu1k/nali/pkg/cdn"
|
||||
|
||||
"github.com/zu1k/nali/pkg/geoip"
|
||||
|
||||
"github.com/zu1k/nali/pkg/ipip"
|
||||
"github.com/zu1k/nali/pkg/qqwry"
|
||||
"github.com/zu1k/nali/pkg/zxipv6wry"
|
||||
|
@ -1 +0,0 @@
|
||||
package geoip
|
@ -7,9 +7,8 @@ import (
|
||||
"net/http"
|
||||
"os"
|
||||
|
||||
"github.com/zu1k/nali/pkg/common"
|
||||
|
||||
"github.com/saracen/go7z"
|
||||
"github.com/zu1k/nali/pkg/common"
|
||||
)
|
||||
|
||||
func Download(filePath string) (data []byte, err error) {
|
||||
|
Loading…
Reference in New Issue
Block a user