Registry / http-client / go-resty-resty

go-resty-resty

JSON →
library1.12.0gogounverified

Resty is a simple HTTP and REST client library for Go inspired by Ruby's rest-client.

go get github.com/go-resty/resty
INSTALL
IMPORT
SIG · GO-RESTY-RESTY
G
go-resty-resty
http-clientgov1.12.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.

resty
github.com/go-resty/resty

Makes a GET request and prints the response body.

package main import ( "fmt" "github.com/go-resty/resty" ) func main() { resp, err := resty.R().Get("https://api.example.com/data") if err != nil { panic(err) } fmt.Println(resp.String()) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
22
Resources
go-resty-resty — go get go-resty-resty · libregistry