clarity
This commit is contained in:
parent
cd46986e57
commit
9a5f281239
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue