Btw, you can define an inline anonymous struct here.

~~~~ go
type A struct {
  // ...
  B struct {
    Text string
  }
}
~~~~