Skip to content

ituoga/httpclient

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

httpclient

usage:

package main

import "github.com/ituoga/httpclient"

func main() {
    type Response struct {
		Message string `json:"message"`
	}

	r, err := httpclient.Get[Response]("https://domain.tld")
	if err != nil {
		log.Fatal(err)
	}
    
	println(r.Message)
}

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages