11 lines
		
	
	
		
			155 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			155 B
		
	
	
	
		
			Go
		
	
	
	
	
	
package utils
 | 
						|
 | 
						|
import (
 | 
						|
	"reflect"
 | 
						|
	"runtime"
 | 
						|
)
 | 
						|
 | 
						|
func GetFuncName(i interface{}) string {
 | 
						|
	return runtime.FuncForPC(reflect.ValueOf(i).Pointer()).Name()
 | 
						|
}
 |