⚡ Release arguments in Request
This commit is contained in:
parent
c9c7dca2cf
commit
fd6c8c78f2
|
@ -21,6 +21,7 @@ type response struct {
|
|||
}
|
||||
|
||||
func request(method, path string, args *http.Args) (*response, error) {
|
||||
defer http.ReleaseArgs(args)
|
||||
requestURI := &url.URL{
|
||||
Scheme: "https",
|
||||
Host: "api.telegra.ph",
|
||||
|
|
Loading…
Reference in New Issue