Skip to content
This repository was archived by the owner on Dec 1, 2021. It is now read-only.

Commit e4f5060

Browse files
ihrweindavecheney
authored andcommitted
Fix doc comment for exported Format func (#137)
Fixes #136 Signed-off-by: Tibor Benke <[email protected]>
1 parent f15c970 commit e4f5060

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

stack.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ func (f Frame) line() int {
4646
//
4747
// Format accepts flags that alter the printing of some verbs, as follows:
4848
//
49-
// %+s path of source file relative to the compile time GOPATH
49+
// %+s function name and path of source file relative to the compile time
50+
// GOPATH separated by \n\t (<funcname>\n\t<path>)
5051
// %+v equivalent to %+s:%d
5152
func (f Frame) Format(s fmt.State, verb rune) {
5253
switch verb {

0 commit comments

Comments
 (0)