rename module to match public repo
This commit is contained in:
2
go.mod
2
go.mod
@@ -1,3 +1,3 @@
|
|||||||
module lookupip
|
module github.com/ryanehamil/lookupip
|
||||||
|
|
||||||
go 1.17
|
go 1.17
|
||||||
|
|||||||
3
main.go
3
main.go
@@ -3,8 +3,9 @@ package main
|
|||||||
import (
|
import (
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
"lookupip/src/ipapi"
|
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
|
"github.com/ryanehamil/lookupip/src/ipapi"
|
||||||
)
|
)
|
||||||
|
|
||||||
var verbose bool = false
|
var verbose bool = false
|
||||||
|
|||||||
@@ -3,9 +3,10 @@ package ipapi
|
|||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"errors"
|
"errors"
|
||||||
"lookupip/src/utils"
|
|
||||||
"net/http"
|
"net/http"
|
||||||
"reflect"
|
"reflect"
|
||||||
|
|
||||||
|
"github.com/ryanehamil/lookupip/src/utils"
|
||||||
)
|
)
|
||||||
|
|
||||||
// IP-API data struct
|
// IP-API data struct
|
||||||
|
|||||||
Reference in New Issue
Block a user