I'm relatively new to Go, so this may be an obvious question, but I 
couldn't find the answer by searching...

All examples of statement labels I have seen (e.g. 
https://golang.org/ref/spec#Break_statements) use labels where the first 
character of the label name is capitalized, as if they are intended to be 
exported.  Docs I have read do not state this as a requirement that I can 
find, and I have read that labels are specifically not exported (as an 
exception to the rule that capitalized first letter = exported).

So, is this merely a stylistic convention, or am I missing something?

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

Reply via email to