Check out example codes for "go create new instance of struct". It will help you in understanding the concepts better.

Code Example 1

type Person struct {
	Name string
}
 
func main() {
	var me Person
	me.name = "mattalui"
}

Learn ReactJs, React Native from akashmittal.com