Just do
foo, err := doThing(bar)
if err != nil {
// ...
}
and carry on with your life. Go is not a language in which you obsess over small things like these.