https://github.com/ik5/runtimeutils
[Mirror] Golang related runtime utilities
https://github.com/ik5/runtimeutils
Last synced: 8 months ago
JSON representation
[Mirror] Golang related runtime utilities
- Host: GitHub
- URL: https://github.com/ik5/runtimeutils
- Owner: ik5
- License: mpl-2.0
- Created: 2023-11-09T14:52:19.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-11T14:24:30.000Z (almost 2 years ago)
- Last Synced: 2025-02-02T07:13:54.270Z (over 1 year ago)
- Language: Go
- Homepage:
- Size: 11.7 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# runtime_utils
Golang related runtime utilities.
## Caller utilities
The caller functions provide helpers to get information about the function and package that actually called the
functions.
- GetCallerInfo - Parse caller stack.
- GetCallerFunctionName - Return the caller of that function with it's stack information.
- GetCallerStack - Provides A list of the entire execution stack, with possibilities to skip callers and limit the
amount of results.
## License
The current package is released under [MPL v2](https://www.mozilla.org/en-US/MPL/2.0/) license.