An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

          



go-requests






## 🦄 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