package main
import (
"fmt"
"net/http"
"io/ioutil"
)
func main() {
url := "https://deep-index.moralis.io/api/v2.2/erc20/0xdac17f958d2ee523a2206206994597c13d831ec7/allowance?chain=eth&owner_address=0x0cBee687015d5151BA084806E00A59A8e6F206c2&spender_address=0x75e89d5979E4f6Fba9F97c104c2F0AFB3F1dcB88"
req, _ := http.NewRequest("GET", url, payload)
req.Header.Add("Accept", "application/json")
req.Header.Add("X-API-Key", "YOUR_API_KEY")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := ioutil.ReadAll(res.Body)
fmt.Println(res)
fmt.Println(string(body))
}