1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-02-11 08:12:26 +08:00

refactor: rename ParseResponse to ParseHttpResponse func in netutil/request.go

This commit is contained in:
dudaodong
2021-12-17 17:29:28 +08:00
parent e87f3b70f0
commit f1dbd943aa
2 changed files with 3 additions and 3 deletions

View File

@@ -119,7 +119,7 @@ func TestParseResponse(t *testing.T) {
t.FailNow()
}
userResp := &UserResp{}
err = ParseResponse(resp, userResp)
err = ParseHttpResponse(resp, userResp)
if err != nil {
log.Fatal(err)
t.FailNow()