You've already forked pocketbase
mirror of
https://github.com/pocketbase/pocketbase.git
synced 2025-07-15 18:24:16 +02:00
changed the hook func argument to e for more consistent autocomplete
This commit is contained in:
@ -8,7 +8,7 @@ import (
|
||||
var StopPropagation = errors.New("Event hook propagation stopped")
|
||||
|
||||
// Handler defines a hook handler function.
|
||||
type Handler[T any] func(data T) error
|
||||
type Handler[T any] func(e T) error
|
||||
|
||||
// Hook defines a concurrent safe structure for handling event hooks
|
||||
// (aka. callbacks propagation).
|
||||
|
Reference in New Issue
Block a user