Documentation ¶
Overview ¶
Package caller is an internal package that contains helper functions for retrieving metadata about the caller of those functions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetFuncFileLineInfo ¶
func GetFuncFileLineInfo() string
GetFuncFileLineInfo is a wrapper around the runtime.Caller() function. This function returns the calling function name, filename and line number to help with debugging efforts.
func GetFuncName ¶
func GetFuncName() string
GetFuncName is a wrapper around the runtime.Caller() function. This function returns the calling function name and discards other return values.
func GetParentFuncFileLineInfo ¶
func GetParentFuncFileLineInfo() string
GetParentFuncFileLineInfo is a wrapper around the runtime.Caller() function. This function returns the parent calling function name, filename and line number to help with debugging efforts.
func GetParentFuncName ¶
func GetParentFuncName() string
GetParentFuncName is a wrapper around the runtime.Caller() function. This function returns the parent calling function name and discards other return values.
Types ¶
This section is empty.