We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7eebf3c commit 928af08Copy full SHA for 928af08
lifecycle.go
@@ -53,7 +53,7 @@ type Hook struct {
53
// StartHook returns a new Hook with start as its [Hook.OnStart] function,
54
// wrapping its signature as needed. For example, given the following function:
55
//
56
-// func myhook() {
+// func myfunc() {
57
// fmt.Println("hook called")
58
// }
59
@@ -86,7 +86,7 @@ func StartHook[T HookFunc](start T) Hook {
86
// StopHook returns a new Hook with stop as its [Hook.OnStop] function,
87
88
89
90
91
92
0 commit comments