Skip to content

adam-0001/requests

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

49 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Requests

Requests is a simple http client inspired by python requests. Built on top of cclient and fhttp, requests maintains simplicity while enabling features such as HTTP/2, ordered headers, and much more.


Quickstart

Get

package main

import (
	"fmt"

	"github.com/adam-0001/requests"
)

func main() {
	//Headers will follow specified order
	headers := []map[string]string{
		{"hello": "world"},
	}
	resp, err := requests.Get("https://google.com", headers, nil)
	if err != nil {
		panic(err)
	}
	fmt.Println(resp.Text)
}

About

A simple, easy to use request client in Go. Based on Python Requests.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages