To install the package, run:
go get github.com/go-zoox/fetch
response, _ := fetch.Get("https://httpbin.zcorky.com/get")
url := response.Get("url")
method := response.Get("method")
fmt.Println(url, method)
- gjson - Get JSON Whenever You Need, you don't define type first。
- mozillazg/request - A developer-friendly HTTP request library for Gopher
GoZoox is released under the MIT License.