Documentation ¶
Overview ¶
Package caller contains convenience functions to get function caller information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateStackInfoFunc ¶
CreateStackInfoFunc returns a closure function that for a given depth returns stack caller information (file and line).
func CreateStackInfoWithFuncnameFunc ¶
CreateStackInfoWithFuncnameFunc returns a closure function that for a given depth returns stack caller information (file, line and function name *if* found).
func GetStackInfo ¶
GetStackInfo returns caller stack information (file and line) for a given depth.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.