diff --git a/README.md b/README.md index 2f62206..36b4e58 100644 --- a/README.md +++ b/README.md @@ -5,21 +5,21 @@ 📦 Golang 请求组件 [comment]: <> (go) -[![godoc](https://pkg.go.dev/badge/github.com/dtapps/gorequest?status.svg)](https://pkg.go.dev/github.com/dtapps/gorequest) -[![goproxy.cn](https://goproxy.cn/stats/github.com/dtapps/gorequest/badges/download-count.svg)](https://goproxy.cn/stats/github.com/dtapps/gorequest) -[![goreportcard.com](https://goreportcard.com/badge/github.com/dtapps/gorequest)](https://goreportcard.com/report/github.com/dtapps/gorequest) -[![deps.dev](https://img.shields.io/badge/deps-go-red.svg)](https://deps.dev/go/github.com%2Fdtapps%2Fgorequest) +[![godoc](https://pkg.go.dev/badge/go.dtapp.net/gorequest?status.svg)](https://pkg.go.dev/go.dtapp.net/gorequest) +[![goproxy.cn](https://goproxy.cn/stats/go.dtapp.net/gorequest/badges/download-count.svg)](https://goproxy.cn/stats/go.dtapp.net/gorequest) +[![goreportcard.com](https://goreportcard.com/badge/go.dtapp.net/gorequest)](https://goreportcard.com/report/go.dtapp.net/gorequest) +[![deps.dev](https://img.shields.io/badge/deps-go-red.svg)](https://deps.dev/go/go.dtapp.net/gorequest) #### 安装使用 ```go -go get -v -u github.com/dtapps/gorequest +go get -v -u go.dtapp.net/gorequest ``` #### 导入 ```go import ( - "github.com/dtapps/gorequest" + "go.dtapp.net/gorequest" ) ``` \ No newline at end of file diff --git a/go.mod b/go.mod index b09fa6c..a6635d0 100644 --- a/go.mod +++ b/go.mod @@ -1,8 +1,8 @@ -module github.com/dtapps/gorequest +module go.dtapp.net/gorequest go 1.18 require ( - github.com/dtapps/gostring v1.0.1 - github.com/dtapps/gotime v1.0.1 + go.dtapp.net/gostring v1.0.3 + go.dtapp.net/gotime v1.0.2 ) diff --git a/go.sum b/go.sum index 8a8e914..8f30858 100644 --- a/go.sum +++ b/go.sum @@ -1,4 +1,4 @@ -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= -github.com/dtapps/gotime v1.0.1/go.mod h1:lbp8pG/8aV3O+t7IuAjasL2WLBsZqLZG6Uw6KqSnox8= +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= +go.dtapp.net/gotime v1.0.2 h1:CFIJHQXC/4t9bsJhk2cLhjHd6rpdPcJXr8BcHKHDuQo= +go.dtapp.net/gotime v1.0.2/go.mod h1:Gq7eNLr2iMLP18UNWONRq4V3Uhf/ADp4bIrS+Tc6ktY= diff --git a/http.go b/http.go index f24c0f2..4a32a0a 100644 --- a/http.go +++ b/http.go @@ -6,7 +6,7 @@ import ( "encoding/json" "errors" "fmt" - "github.com/dtapps/gotime" + "go.dtapp.net/gotime" "io" "io/ioutil" "net/http" @@ -15,7 +15,7 @@ import ( "time" ) -const Version = "1.0.16" +const Version = "1.0.17" // Response 返回内容 type Response struct { diff --git a/params.go b/params.go index 9339d7e..289dc61 100644 --- a/params.go +++ b/params.go @@ -2,7 +2,7 @@ package gorequest import ( "encoding/json" - "github.com/dtapps/gostring" + "go.dtapp.net/gostring" "log" )