mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-10-18 07:53:44 +08:00
更新gf版本到v2.2.5
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
// ==========================================================================
|
||||
// ================================================================================
|
||||
// Code generated by GoFrame CLI tool. DO NOT EDIT.
|
||||
// ==========================================================================
|
||||
// You can delete these comments if you wish manually maintain this interface file.
|
||||
// ================================================================================
|
||||
|
||||
package service
|
||||
|
||||
@@ -8,11 +9,15 @@ import (
|
||||
"github.com/gogf/gf/v2/net/ghttp"
|
||||
)
|
||||
|
||||
type IHook interface {
|
||||
GlobalLog(r *ghttp.Request)
|
||||
}
|
||||
type (
|
||||
IHook interface {
|
||||
GlobalLog(r *ghttp.Request)
|
||||
}
|
||||
)
|
||||
|
||||
var localHook IHook
|
||||
var (
|
||||
localHook IHook
|
||||
)
|
||||
|
||||
func Hook() IHook {
|
||||
if localHook == nil {
|
||||
|
Reference in New Issue
Block a user