Removed useless files

This commit is contained in:
Fabrizio Cirelli 2020-03-09 14:45:58 +01:00
parent af6ac8cee6
commit fa25593b15
2 changed files with 0 additions and 20 deletions

View File

@ -1,10 +0,0 @@
// +build go1.14
package logrus
import "runtime"
// funcName returns the function name that logrus calls
func funcName(pcs []uintptr) string {
return runtime.FuncForPC(pcs[0]).Name()
}

View File

@ -1,10 +0,0 @@
// +build !go1.14
package logrus
import "runtime"
// funcName returns the function name that logrus calls
func funcName(pcs []uintptr) string {
return runtime.FuncForPC(pcs[1]).Name()
}