Explorar el Código

Fix StackTrace print example

Bjørn Erik Pedersen hace 7 años
padre
commit
6ed0a2e59e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      errors.go

+ 1 - 1
errors.go

@@ -82,7 +82,7 @@
 //
 //     if err, ok := err.(stackTracer); ok {
 //             for _, f := range err.StackTrace() {
-//                     fmt.Printf("%+s:%d", f)
+//                     fmt.Printf("%+s:%d\n", f, f)                    
 //             }
 //     }
 //