golang can I make a struct also variables 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"
}