Registry / http-client / parnurzeal-gorequest

parnurzeal-gorequest

JSON →
library0.3.0gogounverified

A Go HTTP client library inspired by Node.js SuperAgent, providing a fluent API for making requests.

go get github.com/parnurzeal/gorequest
INSTALL
IMPORT
SIG · PARNURZEAL-GOREQUE
P
parnurzeal-gorequest
http-clientgov0.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

gorequest
github.com/parnurzeal/gorequest

Simple GET request using gorequest.

package main import ( "fmt" "github.com/parnurzeal/gorequest" ) func main() { resp, body, errs := gorequest.New().Get("https://httpbin.org/get").End() if errs != nil { panic(errs) } fmt.Println(resp.Status, body) }
Debug
Known issues
gotchaLibrary is no longer actively maintained; consider using net/http or a more modern client.
fix
Migrate to the standard library's net/http or a maintained alternative like resty.
affects: >=0.1.0
Upgrade
Version history
0.3.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
14 hits · last 30 days
node
14
Resources
parnurzeal-gorequest — go get parnurzeal-gorequest · libregistry