Skip to content

Commit ac4c579

Browse files
committed
Merge branch 'release/v1.5.0'
2 parents 6ef2e93 + ffa36ce commit ac4c579

File tree

3 files changed

+16
-9
lines changed

3 files changed

+16
-9
lines changed

.travis.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
language: go
22

33
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
810
- release
911
- tip

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
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)
22

33
# stack
44

@@ -10,10 +10,9 @@ the program counter (pc) values returned by runtime.Callers.
1010

1111
## Versioning
1212

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.
1716

1817
## Formatting
1918

stack.go

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,12 @@ func (c Call) Format(s fmt.State, verb rune) {
164164
}
165165
}
166166

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+
167173
// name returns the import path qualified name of the function containing the
168174
// call.
169175
func (c Call) name() string {

0 commit comments

Comments
 (0)