# Functions
CurrentBinary gives the name of the executable running the current Go code.
GetSourceCodeRef returns the callers source code reference.
GetStackTrace returns a rendered stacktrace of the calling code, skipping `skip` frames in the stack prior to this function.
GetStackTraceLegacy returns a rendered stacktrace of the calling code, skipping `skip` frames in the stack (1 is the GetStackTrace frame itself).
PackagePath returns the package path for a type this will panic for any nil-like object Typically you would use this with a struct, such as testing.T or http.Server.
StripTestStacks strips "testing/testing.go:XXX" and "runtime/asm_XXXX.s:XXX" from stacktraces to avoid flappers on go version changes.