Does anyone konw which proposal changes the access for embeded field name 
of struct?
Eg:
```
type Base struct{
    Name string
}
type Value struct{
    Base
}
```

We initial a Value as:
var v = Value{
    Base: Base{
        Name:"xxx",
    }
}
instead of 
var v = Value{
        Name:"xxx",
}

I want to know why golang change the access method.
Anyone who knows the isssue link, please reply me. Thanks a lot.

-- 
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 golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/ff4f3443-c863-4d96-958c-76023979b0ben%40googlegroups.com.

Reply via email to