2024-09-12 19:15:38 -04:00
|
|
|
// Copyright 2023 Harran Ali <harran.m@gmail.com>. All rights reserved.
|
|
|
|
// Copyright (c) 2024 Zeni Kim <zenik@smarteching.com>
|
|
|
|
// Use of this source code is governed by MIT-style
|
|
|
|
// license that can be found in the LICENSE file.
|
|
|
|
|
2024-09-15 20:19:30 -04:00
|
|
|
package hooks
|
2024-09-12 19:15:38 -04:00
|
|
|
|
|
|
|
import (
|
|
|
|
"fmt"
|
|
|
|
|
|
|
|
"git.smarteching.com/goffee/core"
|
|
|
|
)
|
|
|
|
|
2024-09-15 20:19:30 -04:00
|
|
|
// Example hook
|
|
|
|
var ExampleHook core.Hook = func(c *core.Context) {
|
|
|
|
fmt.Println("example hook!")
|
2024-09-12 19:15:38 -04:00
|
|
|
c.Next()
|
|
|
|
}
|