the difference between type and type address in struct
type dog struct {
age int
name string
}
type A struct {
d *dog
}
type B struct {
d dog
}
the difference between struct A and struct B.
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/golang-nuts/5b919653-11ab-458f-bd01-a72734ebf94an%40googlegroups.com.