runtimeutil

package module
v1.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2021 License: Unlicense Imports: 2 Imported by: 0

README

go-runtimeutil

go get gitlab.com/xdevs23/go-runtimeutil

LICENSE

This is free and unencumbered software released into the public domain.

Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.

In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit
of the public at large and to the detriment of our heirs and
successors. We intend this dedication to be an overt act of
relinquishment in perpetuity of all present and future rights to this
software under copyright law.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.

For more information, please refer to <https://unlicense.org>

Documentation

Overview

Package runtimeutil contains useful utilities that make use of the `runtime` package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallerFunc

func CallerFunc() string

CallerFunc returns the full function string including packages of the function that called the function calling CallerFunc()

func CallerFuncName

func CallerFuncName() string

CallerFunc returns only the function name of the function that called the function calling CallerFunc()

func FuncNameOfCallerIndex

func FuncNameOfCallerIndex(skip int) string

func FuncOfCallerIndex

func FuncOfCallerIndex(skip int) string

func ThisFunc

func ThisFunc() string

ThisFunc returns the full function string including packages of the function calling ThisFunc()

func ThisFuncName

func ThisFuncName() string

ThisFunc returns only the function name of the function calling ThisFunc()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL