gospider007 / requests

🚀A next-generation HTTP client for Golang, Support ja3, ja4, http2, tls fingerprint modification
GNU General Public License v3.0
102 stars 19 forks source link

link: github.com/gospider007/requests: invalid reference to net/http.readCookies #13

Closed isheperserga closed 2 weeks ago

isheperserga commented 1 month ago

This issue started happening all of a sudden, no clue why honestly.

package main

import (
    "context"
    "github.com/gospider007/requests"
)

func main() {
    requests.NewClient(context.TODO())
}

This is the full code, on go run, it errors out:

link: github.com/gospider007/requests: invalid reference to net/http.readCookies

Extremely weird :/

I'm on Go 1.22.6

gospider007 commented 1 month ago

go 1.23.0 导致的问题,最新版已修复