https://github.com/gominima/go-requests
🦄 A simple request client for fetching data made in go
https://github.com/gominima/go-requests
fetch fetch-api golang golang-library minima net-http
Last synced: 5 months ago
JSON representation
🦄 A simple request client for fetching data made in go
- Host: GitHub
- URL: https://github.com/gominima/go-requests
- Owner: gominima
- License: apache-2.0
- Created: 2020-12-25T08:37:32.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-03-11T15:03:47.000Z (about 4 years ago)
- Last Synced: 2026-01-14T16:37:00.995Z (5 months ago)
- Topics: fetch, fetch-api, golang, golang-library, minima, net-http
- Language: Go
- Homepage: https://requests.gominima.studio/
- Size: 76.2 KB
- Stars: 5
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
## 🦄 Example
```go
package main
import (
"fmt"
"github.com/gominima/go-requests"
)
func main() {
resp, err := goquests.Get(goquests.Request{
URL: "https://random-data-api.com/api/users/random_user",
Data: make(map[string]interface{}),
Headers: make(map[string]string),
})
if err != nil {
panic(err)
}
fmt.Print(resp.Body)
}
}
```
## ❓Why Go-requests
Go requests is made for making data fetch wat easier and fun to use, it uses all standard go packages without any other dependency, also is pretty fast and reliable .
## ⭐ Contributing
**If you wanna help grow this project or say a thank you!**
1. Give minima a [GitHub star](https://github.com/gominima/go-requests/stargazers)
2. Fork requests and Contribute
4. Join our [Discord](https://discord.gg/gRyCr5APmg) community