I personally don't think () is necessary for output types and is only
confusing with the function attributes
Example
func Hello(b string) ([]byte, error) {
....
}
func Hello(b string) []byte, error {
....
}
func Hello(b string) a []byte, b error {
....
}
Feel free to counter argument against the proposal or if already proposed
--
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 [email protected].
For more options, visit https://groups.google.com/d/optout.