10 lines
135 B
Go
10 lines
135 B
Go
|
|
package notify
|
||
|
|
|
||
|
|
import "context"
|
||
|
|
|
||
|
|
type Noop struct{}
|
||
|
|
|
||
|
|
func (Noop) Notify(ctx context.Context, event Event) error {
|
||
|
|
return ctx.Err()
|
||
|
|
}
|