Registry / http-client / btnguyen2k-consu-gjrc

btnguyen2k-consu-gjrc

JSON →
library0.2.2gogounverified

Generic utilities for working with JSON-based RESTful APIs in Go.

go get github.com/btnguyen2k/consu/gjrc
INSTALL
IMPORT
SIG · BTNGUYEN2K-CONSU-G
B
btnguyen2k-consu-gjrc
http-clientgov0.2.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.

gjrc
github.com/btnguyen2k/consu/gjrc

Creates a REST client and makes a GET request.

package main import ( "fmt" "github.com/btnguyen2k/consu/gjrc" ) func main() { client := gjrc.NewClient("https://api.example.com") resp, err := client.Get("/endpoint") if err != nil { panic(err) } fmt.Println(resp) }
Debug
Known issues

No known issues recorded.

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

No dependency data recorded yet.

Agent activity
23 hits · last 30 days
node
18
Resources