/runtimeutils

[Mirror] Golang related runtime utilities

Primary LanguageGoMozilla Public License 2.0MPL-2.0

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 license.