golang new struct instance code example
Example: go create new instance of struct
type Person struct {
Name string
}
func main() {
var me Person
me.name = "mattalui"
}
type Person struct {
Name string
}
func main() {
var me Person
me.name = "mattalui"
}