Golang: privat class in a struct : I'm new to Go and couldnt find a good solution for my problem.
I got 2 types, the first one is private, because I want that the programmer has to use a constructor. The 2nd type has the first one inside it.

[screenshot of foo bar example][1]


  [1]: https://i.stack.imgur.com/BRBGi.png

Sorry not only new on GO, but also on stackoverflow question asking...so thats why no code, but a screenshot