package
1.13.6
Repository: https://github.com/csrgxtu/gf.git
Documentation: pkg.go.dev

# Functions

BinVersion returns the version of current running binary.
BinVersionMd5 returns the version of current running binary.
CallerPath returns the function name and the absolute file path along with its line number of the caller.
CallerDirectory returns the directory of the caller.
CallerFileLine returns the file path along with the line number of the caller.
CallerFileLineShort returns the file name along with the line number of the caller.
CallerFilePath returns the file path of the caller.
CallerFunction returns the function name of the caller.
CallerPackage returns the package name of the caller.
CallerPathWithFilter returns the function name and the absolute file path along with its line number of the caller.
FuncName returns the function name of given <f>.
FuncPath returns the complete function path of given <f>.
PrintStack prints to standard error the stack trace returned by runtime.Stack.
Stack returns a formatted stack trace of the goroutine that calls it.
StackWithFilter returns a formatted stack trace of the goroutine that calls it.
StackWithFilters returns a formatted stack trace of the goroutine that calls it.
TestDataPath retrieves and returns the testdata path of current package, which is used for unit testing cases only.