diff --git a/README.md b/README.md index c5aaad7..0b8dd22 100644 --- a/README.md +++ b/README.md @@ -5,21 +5,21 @@ 📦 Golang Ip库组件 [comment]: <> (go) -[![godoc](https://pkg.go.dev/badge/github.com/dtapps/goip?status.svg)](https://pkg.go.dev/github.com/dtapps/goip) -[![goproxy.cn](https://goproxy.cn/stats/github.com/dtapps/goip/badges/download-count.svg)](https://goproxy.cn/stats/github.com/dtapps/goip) -[![goreportcard.com](https://goreportcard.com/badge/github.com/dtapps/goip)](https://goreportcard.com/report/github.com/dtapps/goip) -[![deps.dev](https://img.shields.io/badge/deps-go-red.svg)](https://deps.dev/go/github.com%2Fdtapps%2Fgoip) +[![godoc](https://pkg.go.dev/badge/go.dtapp.net/ip?status.svg)](https://pkg.go.dev/go.dtapp.net/ip) +[![goproxy.cn](https://goproxy.cn/stats/go.dtapp.net/ip/badges/download-count.svg)](https://goproxy.cn/stats/go.dtapp.net/ip) +[![goreportcard.com](https://goreportcard.com/badge/go.dtapp.net/ip )](https://goreportcard.com/report/go.dtapp.net/ip) +[![deps.dev](https://img.shields.io/badge/deps-go-red.svg)](https://deps.dev/go/go.dtapp.net/ip) #### 安装使用 ```go -go get -v -u github.com/dtapps/goip +go get -v -u go.dtapp.net/ip ``` #### 导入 ```go import ( - "github.com/dtapps/goip" + "go.dtapp.net/ip" ) ``` \ No newline at end of file diff --git a/app.go b/app.go index 5a87a3a..f4c8515 100644 --- a/app.go +++ b/app.go @@ -1,9 +1,9 @@ package goip import ( - "github.com/dtapps/goip/ip2region" - v4 "github.com/dtapps/goip/v4" - v6 "github.com/dtapps/goip/v6" + "go.dtapp.net/ip/ip2region" + v4 "go.dtapp.net/ip/v4" + v6 "go.dtapp.net/ip/v6" "log" "strings" ) diff --git a/go.mod b/go.mod index a193c19..16d4537 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,9 @@ -module github.com/dtapps/goip +module go.dtapp.net/ip go 1.18 require ( - github.com/dtapps/gorequest v1.0.13 + github.com/dtapps/gorequest v1.0.16 github.com/dtapps/gostring v1.0.1 github.com/saracen/go7z v0.0.0-20191010121135-9c09b6bd7fda golang.org/x/text v0.3.7 diff --git a/go.sum b/go.sum index da26c8c..c4b0d30 100644 --- a/go.sum +++ b/go.sum @@ -1,5 +1,5 @@ -github.com/dtapps/gorequest v1.0.13 h1:b6jyA94xnB3GrtB58NDorHBRINgQAIXO9NBH9sq/rWY= -github.com/dtapps/gorequest v1.0.13/go.mod h1:0JyD79CSOtTVRF4Rkw8xHvFMjQw9aseqsB/wfRnwUSc= +github.com/dtapps/gorequest v1.0.16 h1:ICEI9GFXMoSoMw2SzDwTZy+p9yltqeNkRKYNaB3dJ9w= +github.com/dtapps/gorequest v1.0.16/go.mod h1:C66FRe/YAviVgX8tkYFXlzl8y9hTKDja0V86RL9cIBk= github.com/dtapps/gostring v1.0.1 h1:J04kndQ08LOqb+H41s8PbMEgNtpheV9iTTl7DSPIZVk= github.com/dtapps/gostring v1.0.1/go.mod h1:BYYnZHrmwpFXkLpd9rQyV5YcChovVreacfcjyMKEwoU= github.com/dtapps/gotime v1.0.1 h1:rO44sQ8tFKUxXrxP7clAOTNS/bwhr/QB9+VwFHPsNH8=