traceutil

package
v2.0.0 Latest Latest
Warning

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

Go to latest
Published: May 20, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallerFileWithLineNum

func CallerFileWithLineNum() (string, int)

CallerFileWithLineNum returns the filename with its direct parent directory, as well as the line number.

This is done by traversing the call stack up from the caller of the caller of this function and ignoring all paths from inside this repository (wharf-core). unless it's also a test file ("*_test.go")

Types

This section is empty.

Jump to

Keyboard shortcuts

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