title: Nameless fields in Go structs?
body: <pre><code>package main
  
  import "fmt"
  
  type myType struct {
      string
  }
  
  func main() {
      obj := myType{"Hello World"}
  
      fmt.Println(obj)
  }
  </code></pre>
  
  <p>What is the purpose of nameless fields in structs?</p>
  
  <p>Is it possible to access these fields like you can do with named fields?</p>