Pooof
Are you serious?
--
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 golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https:
I propose a addition to current try proposal to enable optional error
wrapping.
demo codes:
package main
import (
"fmt"
"io"
"os"
)
// wrapErr is an error wrapping function
func wrapErr(err error, format string, args ...interface{}) error {
return fmt.Errorf(
"%s: %s",
fmt.Sprintf(format, args