package
1.2.120
Repository: https://github.com/searking/golang.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

BytesPointer returns a pointer which can be used by CGO.
GetCaller returns the caller of the function that calls it.
GetCallerFrame returns the caller frame of the function that calls it.
GetCallerFuncFileLine returns the __FUNCTION__, __FILE__ and __LINE__ of the function that calls it.
GetCallerPC returns the caller PC of the function that calls it.
GetCallStack Same as stdlib http server code.
GetEIP returns the location, that is EIP after CALL go:linkname GetEIP github.com/searKing/golang/go/runtime.getEIPgo:nosplitgo:noinline.
GetShortCaller returns the short form of GetCaller.
GetShortCallerFuncFileLine returns the short form of GetCallerFuncFileLine.
No description provided by the author
RecoverFromPanic replaces the specified error with an error containing the original error, and the call tree when a panic occurs.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

Panic simply catches a panic and logs an error.