Documentation ¶
Overview ¶
Deprecated: This package is deprecated and will be removed in a future release. Please use the pkgutils package provided by github.com/mandelsoft/goutils.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPackageName ¶
GetPackageName gets the package name for an object, a type, a function or a caller offset.
Examples:
GetPackageName(1) GetPackageName(&MyStruct{}) GetPackageName(GetPackageName) GetPackageName(generics.TypeOf[MyStruct]())
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.