> I understand your pain, but this is nowhere near a real issue for systems that Go is designed to help build.
I spend most of my day designing and coding the sorts of systems which Go was designed to help build. I'll agree that this isn't a major issue, but it is affecting whether or not I actually enjoy using Go.
I appreciate something like this is best served in the compiler, but would it not be possible to build your own function that provides this functionality?
Sorta impossible. You can't suck values out of the current context, even with reflection. You always would need to pass values into a function, in which case you might as well use fmt.