log
parent
16a42bf8fb
commit
3295be7839
1
main.go
1
main.go
|
|
@ -59,6 +59,7 @@ func main() {
|
||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
b, _ := ioutil.ReadAll(resp.Body)
|
b, _ := ioutil.ReadAll(resp.Body)
|
||||||
|
log.Printf("%d: %s", resp.StatusCode, b)
|
||||||
buff := bytes.NewBuffer(b)
|
buff := bytes.NewBuffer(b)
|
||||||
js, err := xj.Convert(buff)
|
js, err := xj.Convert(buff)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue