Registry / utility / go-stack-stack

go-stack-stack

JSON →
library1.8.1gogounverified

Implements utilities to capture, manipulate, and format call stacks for debugging and logging purposes.

go get github.com/go-stack/stack
INSTALL
IMPORT
SIG · GO-STACK-STACK
G
go-stack-stack
utilitygov1.8.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

stack
github.com/go-stack/stack

Captures the current call stack frame.

package main import ( "fmt" "github.com/go-stack/stack" ) func main() { caller := stack.Caller(0) fmt.Println(caller) }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.8.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
go-stack-stack — go get go-stack-stack · libregistry