This commit is contained in:
孟帅
2022-11-24 23:37:34 +08:00
parent 4ffe54b6ac
commit 29bda0dcdd
1487 changed files with 97869 additions and 96539 deletions

View File

@@ -0,0 +1,26 @@
// ==========================================================================
// Code generated by GoFrame CLI tool. DO NOT EDIT.
// ==========================================================================
package service
import (
"github.com/gogf/gf/v2/net/ghttp"
)
type IHook interface {
GlobalLog(r *ghttp.Request)
}
var localHook IHook
func Hook() IHook {
if localHook == nil {
panic("implement not found for interface IHook, forgot register?")
}
return localHook
}
func RegisterHook(i IHook) {
localHook = i
}