Support go 1.12
go 1.12 changed the stack trace of a function call during global variable initialization to contain a function called "PKG.init.ializers". Fix callerName to split the package path and function name on the first "." after the last "/", and look for functions called "init.ializers" or functions with the prefix "init." Change-Id: Ic2190837a8c4cde075f727bd69dd18d517a0ebc0
Loading
Please sign in to comment