Skip to content

Commit bfb46b1

Browse files
committed
More decisive comments.
1 parent 3e85bc9 commit bfb46b1

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,12 @@ Package stack's types implement fmt.Formatter, which provides a simple and flexi
1919
```go
2020
func DoTheThing() {
2121
c := stack.Caller(0)
22-
log.Print(c) // might log "source.go:10"
23-
log.Printf("%+v", c) // might log "pkg/path/source.go:10"
24-
log.Printf("%n", c) // might log "DoTheThing"
22+
log.Print(c) // "source.go:10"
23+
log.Printf("%+v", c) // "pkg/path/source.go:10"
24+
log.Printf("%n", c) // "DoTheThing"
2525

2626
s := stack.Trace().TrimRuntime()
27-
log.Print(s) // might log "[source.go:15 caller.go:42 main.go:14]"
27+
log.Print(s) // "[source.go:15 caller.go:42 main.go:14]"
2828
}
2929
```
3030

0 commit comments

Comments
 (0)