Latest YouTube Video

Saturday, February 10, 2018

Golang anonymous struct initialization

Template data. func NewInterface(methods []*Func, embeddeds []*Named) *Interface; func (t *Interface) If id is an anonymous struct field, ObjectOf returns the field (*Var) it uses, not the type (*TypeName) it defines. It is possible to declare structures without declaring a new type and these type of structures ...

from Google Alert - anonymous http://ift.tt/2H15DJ0
via IFTTT

No comments: