Skip to content

Latest commit

 

History

History
52 lines (39 loc) · 1.39 KB

README.md

File metadata and controls

52 lines (39 loc) · 1.39 KB

go-requests

🦄 Example

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
  2. Fork requests and Contribute
  3. Join our Discord community