Documentation ¶
Overview ¶
Package stacktrace provides helpers for handling stack trace information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFunctionName ¶
GetFunctionName is a helper that extracts a simple function name from full name returned byruntime.Func.Name(). This is used to declutter error messages containing function names.
func GetParentFunctionName ¶
func GetParentFunctionName() string
GetParentFunctionName returns the caller's parent function name and source file line number.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.