https://github.com/mauserzjeh/pingo
General purpose request library implemented in Go
https://github.com/mauserzjeh/pingo
api api-client go golang golang-library http request-library
Last synced: about 2 months ago
JSON representation
General purpose request library implemented in Go
- Host: GitHub
- URL: https://github.com/mauserzjeh/pingo
- Owner: mauserzjeh
- License: mit
- Created: 2022-03-19T23:06:25.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-03-16T21:17:19.000Z (about 1 year ago)
- Last Synced: 2024-06-21T14:15:51.198Z (11 months ago)
- Topics: api, api-client, go, golang, golang-library, http, request-library
- Language: Go
- Homepage:
- Size: 54.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pingo

[](https://pkg.go.dev/github.com/mauserzjeh/pingo/v2)Pingo is a general purpose, high level request library implemented in Go. It is built on top of the standard net/http package and aims to make working with requests more convenient.
# Features
- Zero dependencies
- Chainable API
- Context support
- Logging and debugging options
- Reusable clients
- Tweak options both at client and request level
- Convenient methods to send raw, JSON, XML, form URL encoded, multipart form requests or provide a callback function to create the request body
- Async requests
- Easily access response headers and body
- Streamed response support# Installation
```
go get -u github.com/mauserzjeh/pingo/v2
```# Tests
```
go test -v
```# Usage
Check the documentation and tests for available methods and examples