import ( "runtime" ) func GetFuncname() (name string) { pc, _, _, _ := runtime.Caller(1) name = runtime.FuncForPC(pc).Name() return } 赞微海报分享
近期评论