Explorar o código

Fix StackTrace print example

Bjørn Erik Pedersen %!s(int64=7) %!d(string=hai) anos
pai
achega
6ed0a2e59e
Modificáronse 1 ficheiros con 1 adicións e 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)                    
 //             }
 //     }
 //