package codelocation
import "github.com/onsi/ginkgo/internal/codelocation"
Index ¶
Functions ¶
func New ¶
func New(skip int) types.CodeLocation
func PruneStack ¶
PruneStack removes references to functions that are internal to Ginkgo and the Go runtime from a stack string and a certain number of stack entries at the beginning of the stack. The stack string has the format as returned by runtime/debug.Stack. The leading goroutine information is optional and always removed if present. Beware that runtime/debug.Stack adds itself as first entry, so typically skip must be >= 1 to remove that entry.
Source Files ¶
- Version
- v1.16.5 (latest)
- Published
- Oct 11, 2021
- Platform
- linux/amd64
- Imports
- 5 packages
- Last checked
- 3 weeks ago –
Tools for package owners.