Golang中使用了一个很棒的HTTP请求库。-Golang开发

时间:2024-06-15 10:30:56
【文件属性】:

文件名称:Golang中使用了一个很棒的HTTP请求库。-Golang开发

文件大小:11KB

文件格式:ZIP

更新时间:2024-06-15 10:30:56

Golang Networking

goz一个在golang中使用的出色的HTTP请求库。 受guzzle Installation的启发,去get -u github.com/idoubi/goz。可以在这里找到API文档文档:https://godoc.org/github.com/idoubi/ goz golang中使用了一个很棒的HTTP请求库。 受guzzle Installation的启发,请访问-u github.com/idoubi/goz。可以在以下位置找到API文档文档:https://godoc.org/github.com/idoubi/goz基本用法包main import(“ github.com/idoubi / goz“)func main(){cli:= goz.NewClient()resp,err:= cli.Get(” http://127.0.0.1:8091/get“)如果err!= nil {log.Fatalln( err)} fmt.Printf(“%T”,resp)//输出:* goz.Response}查询参数查询映射


【文件预览】:
goz-master
----go.mod(118B)
----response.go(2KB)
----LICENSE(1KB)
----go.sum(3KB)
----goz.go(939B)
----examples()
--------response_test.go(3KB)
--------server()
--------goz_test.go(159B)
--------request_test.go(5KB)
----README.md(4KB)
----options.go(337B)
----request.go(6KB)

网友评论