Ian's and Lutz's responses get to the heart of how comments on parameters
are different from comments on struct field, constant and variable
initializations, namely that the documentation framework (whether in an IDE
or via godoc) elevates comments on functions to a different status than
"inter
Instead of this:
|
// Great is a really great function.
func Great(
anArg int,// This explains anArg
anotherArg string,// This explains anotherArg
)(err error){
...
|
I'd think that this:
|
// Great is a really great function.
func Great(
anArg int,// This e