https://play.golang.org/p/KEGDmlLEZZ

like this, can't use var model ModelObject as FooModel struct.
I'd like to use model as FooModel variable, after inserting &FooModel{Id: 1}
 to model.
Why this happen?

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to