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

master v1.0.17
李光春 2 years ago
parent 55fabac5cc
commit cecf41595c

@ -5,21 +5,21 @@
📦 Golang 请求组件 📦 Golang 请求组件
[comment]: <> (go) [comment]: <> (go)
[![godoc](https://pkg.go.dev/badge/github.com/dtapps/gorequest?status.svg)](https://pkg.go.dev/github.com/dtapps/gorequest) [![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/github.com/dtapps/gorequest/badges/download-count.svg)](https://goproxy.cn/stats/github.com/dtapps/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/github.com/dtapps/gorequest)](https://goreportcard.com/report/github.com/dtapps/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/github.com%2Fdtapps%2Fgorequest) [![deps.dev](https://img.shields.io/badge/deps-go-red.svg)](https://deps.dev/go/go.dtapp.net/gorequest)
#### 安装使用 #### 安装使用
```go ```go
go get -v -u github.com/dtapps/gorequest go get -v -u go.dtapp.net/gorequest
``` ```
#### 导入 #### 导入
```go ```go
import ( import (
"github.com/dtapps/gorequest" "go.dtapp.net/gorequest"
) )
``` ```

@ -1,8 +1,8 @@
module github.com/dtapps/gorequest module go.dtapp.net/gorequest
go 1.18 go 1.18
require ( require (
github.com/dtapps/gostring v1.0.1 go.dtapp.net/gostring v1.0.3
github.com/dtapps/gotime v1.0.1 go.dtapp.net/gotime v1.0.2
) )

@ -1,4 +1,4 @@
github.com/dtapps/gostring v1.0.1 h1:J04kndQ08LOqb+H41s8PbMEgNtpheV9iTTl7DSPIZVk= go.dtapp.net/gostring v1.0.3 h1:KSOq4D77/g5yZN/bqWfZ0kOOaPr/P1240vg03+XdENI=
github.com/dtapps/gostring v1.0.1/go.mod h1:BYYnZHrmwpFXkLpd9rQyV5YcChovVreacfcjyMKEwoU= go.dtapp.net/gostring v1.0.3/go.mod h1:+ggrOvgQDQturi1QGsXEpyRN/ZPoRDaqhMujIk5lrgQ=
github.com/dtapps/gotime v1.0.1 h1:rO44sQ8tFKUxXrxP7clAOTNS/bwhr/QB9+VwFHPsNH8= go.dtapp.net/gotime v1.0.2 h1:CFIJHQXC/4t9bsJhk2cLhjHd6rpdPcJXr8BcHKHDuQo=
github.com/dtapps/gotime v1.0.1/go.mod h1:lbp8pG/8aV3O+t7IuAjasL2WLBsZqLZG6Uw6KqSnox8= go.dtapp.net/gotime v1.0.2/go.mod h1:Gq7eNLr2iMLP18UNWONRq4V3Uhf/ADp4bIrS+Tc6ktY=

@ -6,7 +6,7 @@ import (
"encoding/json" "encoding/json"
"errors" "errors"
"fmt" "fmt"
"github.com/dtapps/gotime" "go.dtapp.net/gotime"
"io" "io"
"io/ioutil" "io/ioutil"
"net/http" "net/http"
@ -15,7 +15,7 @@ import (
"time" "time"
) )
const Version = "1.0.16" const Version = "1.0.17"
// Response 返回内容 // Response 返回内容
type Response struct { type Response struct {

@ -2,7 +2,7 @@ package gorequest
import ( import (
"encoding/json" "encoding/json"
"github.com/dtapps/gostring" "go.dtapp.net/gostring"
"log" "log"
) )

Loading…
Cancel
Save