How to set default values in Go structs
05:43 10 May 2016

There are multiple answers/techniques to the below question:

  1. How to set default values to golang structs?
  2. How to initialize structs in golang

I have a couple of answers but further discussion is required.

go struct initialization default-value