How to set default values in Go structs
There are multiple answers/techniques to the below question:
- How to set default values to golang structs?
- How to initialize structs in golang
I have a couple of answers but further discussion is required.