package main import ( "net/http" ) func main() { res, _ := defer res.Body.Close() println(res.StatusCode) }