mirror of
https://github.com/nxtrace/nali
synced 2024-11-22 00:58:38 +00:00
mod
This commit is contained in:
parent
28a2f0b077
commit
3554f025e9
@ -6,17 +6,16 @@ import (
|
||||
"log"
|
||||
"os"
|
||||
|
||||
"github.com/zu1k/nali/internal/ipdb"
|
||||
|
||||
"github.com/zu1k/nali/internal/app"
|
||||
"github.com/zu1k/nali/internal/ipdb"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
||||
var rootCmd = &cobra.Command{
|
||||
Use: "nali",
|
||||
Short: "",
|
||||
Long: ``,
|
||||
Short: "An offline tool for querying IP geographic information",
|
||||
Long: `An offline tool for querying IP geographic information.`,
|
||||
Args: cobra.MinimumNArgs(0),
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
app.InitIPDB(ipdb.GetIPDBType())
|
||||
|
@ -6,9 +6,8 @@ import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
|
||||
"github.com/zu1k/nali/pkg/qqwry"
|
||||
|
||||
"github.com/zu1k/nali/constant"
|
||||
"github.com/zu1k/nali/pkg/qqwry"
|
||||
|
||||
"github.com/spf13/cobra"
|
||||
)
|
||||
|
@ -5,12 +5,9 @@ import (
|
||||
"path/filepath"
|
||||
"strings"
|
||||
|
||||
"github.com/zu1k/nali/internal/iptools"
|
||||
|
||||
"github.com/zu1k/nali/constant"
|
||||
|
||||
"github.com/zu1k/nali/internal/ipdb"
|
||||
|
||||
"github.com/zu1k/nali/internal/iptools"
|
||||
geoip2 "github.com/zu1k/nali/pkg/geoip"
|
||||
"github.com/zu1k/nali/pkg/qqwry"
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user