golang is it possible to make func that get data from struct 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"
}