This commit is contained in:
gospider
2025-01-02 17:19:55 +08:00
parent a8b19ecde0
commit 233bd0e503
9 changed files with 742 additions and 208 deletions

View File

@@ -35,7 +35,7 @@ func GetRequestOption(ctx context.Context) *RequestOption {
if ok {
return option
}
return nil
return new(RequestOption)
}
// sends a GET request and returns the response.