Documentation
¶
Overview ¶
package meta implements easy use of metadata for ordinary go types like functions, interfaces.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Caller ¶
func Caller() string
Caller return file and line number information based on runtime.Caller but in string form with at most 3-tier directories
func CallerSkip ¶
CallerSkip is similar to Caller but with skip specified
note: meta.CallerSkip(1) is equivalent to runtime.Caller(0)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.