Top "Multiple-return-values" questions

Multiple values in single-value context

Due to error handling in Go, I often end up with multiple values functions. So far, the way I have …

go error-handling return-value multiple-return-values
Return map like 'ok' in Golang on normal functions

In Go, the following works (note one use of the map has one return, the other has two returns) package …

go return-value multiple-return-values