Hi Gophers,

I'm Newbie to golang,

var m []int   //array declaration

m = {1,2,3,4,5,6,7} // this throws error

so I have declared an array which takes only int items,

so I can append items to it with append function.:

m = append(m, 1,2,3,4,5,6,7,8,9)

but I want to insert items without using append function.

Please help me out...

thank you,

-- 
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