Przeglądaj źródła

Fix StackTrace print example

Bjørn Erik Pedersen 7 lat temu
rodzic
commit
6ed0a2e59e
1 zmienionych plików z 1 dodań i 1 usunięć
  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)                    
 //             }
 //     }
 //