增加自动注册git hook路由的方法
This commit is contained in:
17
git_hook/abstract.go
Normal file
17
git_hook/abstract.go
Normal file
@ -0,0 +1,17 @@
|
||||
// Package git_hook...
|
||||
//
|
||||
// Description : git_hook...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 2021-11-11 6:41 下午
|
||||
package git_hook
|
||||
|
||||
import "github.com/gin-gonic/gin"
|
||||
|
||||
// IGitHookEventHandler 接口约束, pkg 内部会提供基础实现
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 6:42 下午 2021/11/11
|
||||
type IGitHookEventHandler func(ctx *gin.Context, hookData *HookData)
|
Reference in New Issue
Block a user