From: qydysky Date: Thu, 5 Nov 2020 21:18:21 +0000 (+0800) Subject: 91 X-Git-Tag: v0.2.1 X-Git-Url: http://127.0.0.1:8081/?a=commitdiff_plain;h=515bc5af538a5d02bccc98cca47845699ed562d4;p=part%2F.git 91 --- diff --git a/get/Get.go b/get/Get.go index aaeb121..c552d1b 100644 --- a/get/Get.go +++ b/get/Get.go @@ -3,12 +3,14 @@ package part import ( "strings" "errors" + "net/http" p "github.com/qydysky/part" ) type get struct { body []byte + Response *http.Response RS string Err error } @@ -21,7 +23,8 @@ func Get(r p.Rval) (o *get){ R := p.Req() o.Err = R.Reqf(r) (*o).body = R.Respon - + (*o).Response = R.Response + return }