title: how to get value from specific key in MongoDB with Golang
body: <p>I write the code with Go to get value from specify key, but it's return only `_idà value
  from my code </p>
  
  <pre><code>func main() {
      mongoDialInfo := &amp;mgo.DialInfo{
          Addrs:    []string{"localhost:27017"},
          Database: "person",
          Username: "user",
          Password: "user",
          Timeout:  60 * time.Second,
      }
      session, err := mgo.DialWithInfo(mongoDialInfo)
      if err != nil {
          panic(err)
      }
      defer session.Close()
  
      c := session.DB("person").C("person")
  
      result := Person{}
      name := "Bill"
  
      err = c.Find(bson.M{"name": name}).Select(bson.M{"surname": 1 }).One(&amp;result)
  
      if err != nil {
          panic(err)
      }
  
      fmt.Println("Surname is ", result)
  }
  </code></pre>
  
  <p>and the result from code is </p>
  
  <p>{ObjectIdHex("5b9bb0b39b5c3e5733e1c8f7")  }</p>
  
  <p>Please help me to fix it.</p>