client := &http.Client{}
req, err := http.NewRequest(
"GET", "https://cloud-api.yandex.net/v1/disk", nil,
)
req.Header.Add("Authorization", "токен")
resp, err := client.Do(req)
if err != nil {
fmt.Println(err)
return
}
defer resp.Body.Close()
io.Copy(os.Stdout, resp.Body)
for( Element urlElement : hrefs ) {
urlElement.attr("href", urlElement.absUrl("href"));
}<spoiler title=""></spoiler>