It helps a lot! Thanks. I now have two things to moan about.
If I was to pass c around, I would added it to the params list. If I had more others, I'd built a struct. But now, if somehow I lose track of who's passing what and where, hard times debugging ahead. Having them declared at package level, it seems to cut short the list of things to add, do and track. If I was to use a init func to initialize w and c, how do I pass them to main? Or any initialization, really? -- 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. For more options, visit https://groups.google.com/d/optout.