mirror of
https://github.com/yusing/godoxy.git
synced 2026-04-18 23:20:05 +02:00
replace unnecessary Task interface with struct
This commit is contained in:
@@ -73,7 +73,7 @@ func loadContent() {
|
||||
}
|
||||
}
|
||||
|
||||
func watchDir(task task.Task) {
|
||||
func watchDir(task *task.Task) {
|
||||
eventCh, errCh := dirWatcher.Events(task.Context())
|
||||
for {
|
||||
select {
|
||||
|
||||
Reference in New Issue
Block a user