Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // PackageRegexp is regexp search that help us find those lines that // includes function calls in our package and its sub packages. The // following lines help you figure out what kind of lines we are talking // about: // github.com/lainio/err2/try.To1[...](...) // github.com/lainio/err2/assert.Asserter.True(...) PackageRegexp = regexp.MustCompile(`lainio/err2[a-zA-Z0-9_/.\[\]]*\(`) )
Functions ¶
func FprintStack ¶
FprintStack prints the stack trace returned by runtime.Stack to the writer. The StackInfo tells what it prints from the stack.
func PrintStack ¶
func PrintStack(stackLevel int)
PrintStack prints to standard error the stack trace returned by runtime.Stack by starting from stackLevel.
Types ¶
Click to show internal directories.
Click to hide internal directories.