File tree Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Expand file tree Collapse file tree 3 files changed +16
-9
lines changed Original file line number Diff line number Diff line change 1
1
language : go
2
2
3
3
go :
4
- - 1.0
5
- - 1.1
6
- - 1.2
7
- - 1.3
4
+ - 1.0.3
5
+ - 1.1.2
6
+ - 1.2.2
7
+ - 1.3.3
8
+ - 1.4.3
9
+ - 1.5.3
8
10
- release
9
11
- tip
Original file line number Diff line number Diff line change 1
- [ ![ GoDoc] ( https://godoc.org/gopkg.in/ stack.v1 ?status.svg )] ( https://godoc.org/gopkg.in/ stack.v1 )
1
+ [ ![ GoDoc] ( https://godoc.org/github.com/go- stack/stack ?status.svg )] ( https://godoc.org/github.com/go- stack/stack ) [ ![ Go Report Card ] ( https://goreportcard.com/badge/go-stack/stack )] ( https://goreportcard.com/report/go-stack/stack )
2
2
3
3
# stack
4
4
@@ -10,10 +10,9 @@ the program counter (pc) values returned by runtime.Callers.
10
10
11
11
## Versioning
12
12
13
- Package stack publishes stable APIs via gopkg.in. The most recent is v1, which
14
- is imported like so:
15
-
16
- import "gopkg.in/stack.v1"
13
+ Package stack publishes releases via [ semver] ( http://semver.org/ ) compatible Git
14
+ tags prefixed with a single 'v'. The master branch always contains the latest
15
+ release. The develop branch contains unreleased commits.
17
16
18
17
## Formatting
19
18
Original file line number Diff line number Diff line change @@ -164,6 +164,12 @@ func (c Call) Format(s fmt.State, verb rune) {
164
164
}
165
165
}
166
166
167
+ // PC returns the program counter for this call frame; multiple frames may
168
+ // have the same PC value.
169
+ func (c Call ) PC () uintptr {
170
+ return c .pc
171
+ }
172
+
167
173
// name returns the import path qualified name of the function containing the
168
174
// call.
169
175
func (c Call ) name () string {
You can’t perform that action at this time.
0 commit comments