debug

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func WhereAmI

func WhereAmI(depthList ...int) string

WhereAmI 返回调用它的函数的包名、文件名和行号 参数:

  • depthList: 可选参数,指定调用栈的深度,默认为 1。

返回值:

  • string: 调用它的函数的包名、文件名和行号,格式为 "package/file:line"。

Types

This section is empty.

Jump to

Keyboard shortcuts

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