Pārlūkot izejas kodu

Fix doc comment for exported Format func (#137)

Fixes #136

Signed-off-by: Tibor Benke <ihrwein@gmail.com>
Tibor Benke 8 gadi atpakaļ
vecāks
revīzija
e4f5060297
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      stack.go

+ 2 - 1
stack.go

@@ -46,7 +46,8 @@ func (f Frame) line() int {
 //
 // Format accepts flags that alter the printing of some verbs, as follows:
 //
-//    %+s   path of source file relative to the compile time GOPATH
+//    %+s   function name and path of source file relative to the compile time
+//          GOPATH separated by \n\t (<funcname>\n\t<path>)
 //    %+v   equivalent to %+s:%d
 func (f Frame) Format(s fmt.State, verb rune) {
 	switch verb {