This is a package to report the calling function's name as cheaply as possible (~40ns with no allocations). It only works on go1.12+, amd64 and 386 architectures.
zchee / this Goto Github PK
View Code? Open in Web Editor NEWThis project forked from zeebo/this
This returns the name of the calling function/package with no allocations.