Registry / http-client / go-resty-resty-v2

go-resty-resty-v2

JSON →
library2.17.2gogounverified

Package resty provides Simple HTTP and REST client library for Go.

go get github.com/go-resty/resty/v2
INSTALL
IMPORT
SIG · GO-RESTY-RESTY-V2
G
go-resty-resty-v2
http-clientgov2.17.2
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.

resty
✓ github.com/go-resty/resty/v2

Makes a GET request using Resty client.

package main import ( "fmt" "github.com/go-resty/resty/v2" ) func main() { client := resty.New() resp, err := client.R().Get("https://httpbin.org/get") if err != nil { panic(err) } fmt.Println(resp.String()) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.17.2latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
25 hits · last 30 days
node
22
OpenAI (training)
1
Resources
go-resty-resty-v2 — go get go-resty-resty-v2 · libregistry