title: How to access fields of a JSON in GO
body: <p>Hi everyone I'm trying to see what the proper way of accessing fields of a json object from a http.get request in go.</p>
  
  <p>I first do an http.get call get the JSON and then print it (which works) but is there a way to access just a field?</p>
  
  <p>for example:</p>
  
  <pre><code>response, err:= http.Get("URL")
  //Error checking is done between
  contents, err:=ioutil.Readall(response.Body)
  
  //Now at this point I have a json that looks like
  {"id": "someID", 
  "name": "someName", 
  "test": [{"Name":"Test1", 
            "Result": "Success"},
           {"Name":"Test2", 
            "Result": "Success"},
           {...},
  ]}
  </code></pre>
  
  <p>Is there a way to only print the "test" of the Json? What is the proper way of accessing that field?</p>