This commit is contained in:
yusing
2026-02-16 08:59:01 +08:00
parent 15b9635ee1
commit e4e6f6b3e8
242 changed files with 3953 additions and 3502 deletions

View File

@@ -3,12 +3,11 @@ package watcher
import (
"context"
"github.com/yusing/godoxy/internal/watcher/events"
gperr "github.com/yusing/goutils/errs"
watcherEvents "github.com/yusing/godoxy/internal/watcher/events"
)
type Event = events.Event
type Event = watcherEvents.Event
type Watcher interface {
Events(ctx context.Context) (<-chan Event, <-chan gperr.Error)
Events(ctx context.Context) (<-chan Event, <-chan error)
}