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

master v1.0.10
李光春 2 years ago
parent f31cc60d72
commit 0b74986802

@ -5,21 +5,21 @@
📦 Golang Ip库组件
[comment]: <> (go)
[![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)
[![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/goip)
#### 安装使用
```go
go get -v -u go.dtapp.net/ip
go get -v -u go.dtapp.net/goip
```
#### 导入
```go
import (
"go.dtapp.net/ip"
"go.dtapp.net/goip"
)
```

@ -1,14 +1,14 @@
package goip
import (
"go.dtapp.net/ip/ip2region"
v4 "go.dtapp.net/ip/v4"
v6 "go.dtapp.net/ip/v6"
"go.dtapp.net/goip/ip2region"
v4 "go.dtapp.net/goip/v4"
v6 "go.dtapp.net/goip/v6"
"log"
"strings"
)
const Version = "1.0.9"
const Version = "1.0.10"
type App struct {
V4Region ip2region.Ip2Region // IPV4

@ -1,4 +1,4 @@
module go.dtapp.net/ip
module go.dtapp.net/goip
go 1.18

Loading…
Cancel
Save