Skip to content

gominima/go-requests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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