package main
import (
"fmt"
"io/ioutil"
"net/http"
)
func main() {
url := "https://api.binance.com/api/v1/exchangeInfo"
resp, _ := http.Get(url)
defer resp.Body.Close()
byteArray, _ := ioutil.ReadAll(resp.Body)
fmt.Println(string(byteArray)) // htmlをstringで取得
}