소스 검색

update godoc

Dave Cheney 9 년 전
부모
커밋
7f46da032a
1개의 변경된 파일5개의 추가작업 그리고 1개의 파일을 삭제
  1. 5 1
      errors.go

+ 5 - 1
errors.go

@@ -49,9 +49,13 @@
 // invoked. This information can be retrieved with the following interface.
 //
 //     type Stacktrace interface {
-//             Stacktrace() []Frame
+//             Stacktrace() errors.Stacktrace
 //     }
 //
+// Where errors.Stacktrace is defined as
+//
+//     type Stacktrace []Frame
+//
 // The Frame type represents a call site in the stacktrace. Frame supports
 // the fmt.Formatter interface that can be used for printing information about
 // the stacktrace of this error. For example: