net.http: Response.text -> Response.body (#14478)

This commit is contained in:
Hunam 2022-05-29 19:27:18 +02:00 committed by GitHub
parent 2c5febe25e
commit 78d1b7f4ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 65 additions and 74 deletions

View file

@ -7,6 +7,6 @@ fn main() {
return
}
t := time.unix(resp.text.int())
t := time.unix(resp.body.int())
println(t.format())
}