Documentation
¶
Overview ¶
Package source 提供与 Go 源码相关的一些操作
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentFunction ¶
func CurrentFunction() string
CurrentFunction 获取`调用者`所在的函数名
相当于部分语言的 __FUNCTION__
func CurrentLocation ¶ added in v0.1.2
CurrentLocation 获取调用者当前的位置信息
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.