Global variables are 100% okay and even conventional in go code. It's been one of the hardest things for me to get used to in go. Haha
The other thing about cobra is that it seems to rely on global variables quite a bit... which feels a bit wrong. Maybe I'm missing something.
--
You received this message because you are subscribed to the Google Groups "pki.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pki_io+un...@googlegroups.com.
To post to this group, send email to pki...@googlegroups.com.
Visit this group at http://groups.google.com/group/pki_io.
To view this discussion on the web, visit https://groups.google.com/d/msgid/pki_io/48a8f9a6-f2e1-42dc-aa6f-d24c73c1e365%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Global variables are 100% okay and even conventional in go code. It's been one of the hardest things for me to get used to in go. Haha
--
You received this message because you are subscribed to the Google Groups "pki.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pki_io+un...@googlegroups.com.
To post to this group, send email to pki...@googlegroups.com.
Visit this group at http://groups.google.com/group/pki_io.
To view this discussion on the web, visit https://groups.google.com/d/msgid/pki_io/4e2d2b11-2ab6-4bd6-9119-d64a37cf32de%40googlegroups.com.
Best!Hi all,can't we beat docopt into submission (and maybe submit some PRs upstream)? What do you guys think?