Hi all, it would be helpful for me if a small doubt of mine is resolved.

I want to know how to create an array of structure instances  for a nested 
structure. Let me write it

type Strct1 struct {
    val1 int
     val2 int
}
type Strct2 struct {
     Namce string
      temp     Strct1
}
I want to create an array of instances for Strct2 and initialise it. Please 
let me know how to do it.

Thanks
Nagaraj
     
     

-- 
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/6719741a-fc2c-465d-8f7f-91787f319d1en%40googlegroups.com.

Reply via email to