Registry / http-client / resty-v1

resty-v1

JSON →
library1.12.0gogounverified

Package resty provides a simple HTTP and REST client library for Go.

go get gopkg.in/resty.v1
INSTALL
IMPORT
SIG · RESTY-V1
R
resty-v1
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
✓ gopkg.in/resty.v1

Make a GET request with resty.

package main import ( "fmt" "gopkg.in/resty.v1" ) func main() { resp, err := resty.R().Get("https://httpbin.org/get") if err != nil { fmt.Println(err) return } fmt.Println(resp.String()) }
Debug
Known issues
gotcharesty v1 is in maintenance mode; consider upgrading to v2.
fix
Use github.com/go-resty/resty/v2 instead.
affects: >=1.0.0 <2.0.0
Upgrade
Version history
1.12.0latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
15 hits · last 30 days
node
14
Resources
resty-v1 — go get resty-v1 · libregistry