lifegit / fetch

Go Fetch - A Powerful, Lightweight, Easy Http Client, inspired by Web Fetch API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fetch - HTTP Client

PkgGoDev Build Status Go Report Card Coverage Status GitHub issues Release

Installation

To install the package, run:

go get github.com/go-zoox/fetch

Getting Started

response, _ := fetch.Get("https://httpbin.zcorky.com/get")
url := response.Get("url")
method := response.Get("method")

fmt.Println(url, method)

Depencencies

  • gjson - Get JSON Whenever You Need, you don't define type first。
  • mozillazg/request - A developer-friendly HTTP request library for Gopher

License

GoZoox is released under the MIT License.

About

Go Fetch - A Powerful, Lightweight, Easy Http Client, inspired by Web Fetch API

License:MIT License


Languages

Language:Go 100.0%