- update
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details

master v1.0.21
李光春 2 years ago
parent 5be5453e5b
commit 44114ef943

@ -5,15 +5,15 @@
📦 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/goip?status.svg)](https://pkg.go.dev/go.dtapp.net/goip)
[![goproxy.cn](https://goproxy.cn/stats/go.dtapp.net/goip/badges/download-count.svg)](https://goproxy.cn/stats/go.dtapp.net/goip)
[![goreportcard.com](https://goreportcard.com/badge/go.dtapp.net/goip )](https://goreportcard.com/report/go.dtapp.net/goip)
[![deps.dev](https://img.shields.io/badge/deps-go-red.svg)](https://deps.dev/go/go.dtapp.net%2Fgoip)
#### 安装
```go
go get -v -u github.com/dtapps/goip
go get -v -u go.dtapp.net/goip
```
#### 使用
@ -22,7 +22,7 @@ go get -v -u github.com/dtapps/goip
package main
import (
"github.com/dtapps/goip"
"go.dtapp.net/goip"
"testing"
)

@ -1,4 +1,4 @@
module github.com/dtapps/goip
module go.dtapp.net/goip
go 1.18
@ -14,5 +14,4 @@ require (
github.com/saracen/go7z-fixtures v0.0.0-20190623165746-aa6b8fba1d2f // indirect
github.com/saracen/solidblock v0.0.0-20190426153529-45df20abab6f // indirect
github.com/ulikunitz/xz v0.5.10 // indirect
go.dtapp.net/gostring v1.0.3 // indirect
)

@ -1,5 +1,3 @@
github.com/dtapps/gorequest v1.0.21 h1:OP6CZ4eyVYQioRxRhUA5cZNMqUIhbqROHo1jICnb8vI=
github.com/dtapps/gorequest v1.0.21/go.mod h1:2KY7OzZm9LeQvt0znQDMCnMbNczHwsVrMm60zIUYXFo=
github.com/dtapps/gorequest v1.0.22 h1:cDYvgfrIOCmPpl3ZRO5OIC+0rlfdKWhmVPC9tmq721I=
github.com/dtapps/gorequest v1.0.22/go.mod h1:QCmZ4Dav9B4YHNsslk+26zOKk1PdPOr/wznr71GUa6U=
github.com/dtapps/gostring v1.0.4 h1:71+ycsnvS+UkNx+15U6mL9oWwCIGEAAEtDmAfeTr64M=
@ -14,8 +12,6 @@ github.com/saracen/solidblock v0.0.0-20190426153529-45df20abab6f h1:1cJITU3JUI8q
github.com/saracen/solidblock v0.0.0-20190426153529-45df20abab6f/go.mod h1:LyBTue+RWeyIfN3ZJ4wVxvDuvlGJtDgCLgCb6HCPgps=
github.com/ulikunitz/xz v0.5.10 h1:t92gobL9l3HE202wg3rlk19F6X+JOxl9BBrCCMYEYd8=
github.com/ulikunitz/xz v0.5.10/go.mod h1:nbz6k7qbPmH4IRqmfOplQw/tblSgqTqBwxkY0oWt/14=
go.dtapp.net/gostring v1.0.3 h1:KSOq4D77/g5yZN/bqWfZ0kOOaPr/P1240vg03+XdENI=
go.dtapp.net/gostring v1.0.3/go.mod h1:+ggrOvgQDQturi1QGsXEpyRN/ZPoRDaqhMujIk5lrgQ=
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/tools v0.0.0-20180917221912-90fa682c2a6e h1:FDhOuMEY4JVRztM/gsbk+IKUQ8kj74bxZrgw87eMMVc=

@ -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/goip/ip2region"
v4 "go.dtapp.net/goip/v4"
v6 "go.dtapp.net/goip/v6"
"log"
"strings"
)

Binary file not shown.

@ -1,3 +1,3 @@
package goip
const Version = "1.0.20"
const Version = "1.0.21"

Loading…
Cancel
Save