> I'd really love to see local functions, though, not for real scope usage but for clarity of coding.
You kind-of can: https://play.golang.org/p/8BeeIb_azUM But if you're not interested in accessing variables in the enclosing scope, you might as well put them as non-exported functions at the top level. -- 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/4c8d46cc-c855-496a-96c9-107939ab5e67n%40googlegroups.com.