This commit is contained in:
a 2022-03-26 21:22:02 -05:00
parent cd46986e57
commit 9a5f281239

View File

@ -20,7 +20,7 @@ func (r *RequestContext[T]) String() string {
return fmt.Sprintf("%+v", r.ans)
}
func (r *RequestContext[T]) Do() func(r *RequestContext[T]) *RequestContext[T] {
func (_ *RequestContext[T]) Do() func(r *RequestContext[T]) *RequestContext[T] {
return func(r *RequestContext[T]) *RequestContext[T] {
r.ans = *new(T)
res, err := http.DefaultClient.Do(&r.req)