Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CurrentPackageName ¶
func CurrentPackageName() string
CurrentPackageName returns the package name of the caller's location. CurrentPackageName 返回调用者位置的包名。
func GetPkgName ¶
GetPkgName returns the package name of a given Go file path. GetPkgName 返回给定 Go 文件路径的包名。
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.