Guys I have Student struct and I am trying to create Student item as *Student. I get invalid memory address or nil pointer dereference error.
var newStudent *Student
newStudent.Name = "John"
I m creating like that. When I try to set any variable, I am getting same error. What did I wrong?