mirror of
https://gitee.com/johng/gf
synced 2026-07-04 13:02:36 +08:00
change gitee.com/johng/gf -> github.com/gogf/gf
This commit is contained in:
@ -9,7 +9,7 @@ package fsnotify_test
|
||||
import (
|
||||
"log"
|
||||
|
||||
"gitee.com/johng/gf/third/github.com/fsnotify/fsnotify"
|
||||
"github.com/gogf/gf/third/github.com/fsnotify/fsnotify"
|
||||
)
|
||||
|
||||
func ExampleNewWatcher() {
|
||||
|
||||
@ -16,7 +16,7 @@ import (
|
||||
"sync"
|
||||
"unsafe"
|
||||
|
||||
"gitee.com/johng/gf/third/golang.org/x/sys/unix"
|
||||
"github.com/gogf/gf/third/golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
// Watcher watches a set of files, delivering events to a channel.
|
||||
|
||||
@ -9,7 +9,7 @@ package fsnotify
|
||||
import (
|
||||
"errors"
|
||||
|
||||
"gitee.com/johng/gf/third/golang.org/x/sys/unix"
|
||||
"github.com/gogf/gf/third/golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
type fdPoller struct {
|
||||
|
||||
@ -10,7 +10,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"gitee.com/johng/gf/third/golang.org/x/sys/unix"
|
||||
"github.com/gogf/gf/third/golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
type testFd [2]int
|
||||
|
||||
@ -10,7 +10,7 @@ import (
|
||||
"testing"
|
||||
"time"
|
||||
|
||||
"gitee.com/johng/gf/third/golang.org/x/sys/unix"
|
||||
"github.com/gogf/gf/third/golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
// testExchangedataForWatcher tests the watcher with the exchangedata operation on macOS.
|
||||
|
||||
@ -15,7 +15,7 @@ import (
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"gitee.com/johng/gf/third/golang.org/x/sys/unix"
|
||||
"github.com/gogf/gf/third/golang.org/x/sys/unix"
|
||||
)
|
||||
|
||||
// Watcher watches a set of files, delivering events to a channel.
|
||||
|
||||
@ -6,6 +6,6 @@
|
||||
|
||||
package fsnotify
|
||||
|
||||
import "gitee.com/johng/gf/third/golang.org/x/sys/unix"
|
||||
import "github.com/gogf/gf/third/golang.org/x/sys/unix"
|
||||
|
||||
const openMode = unix.O_NONBLOCK | unix.O_RDONLY
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||
|
||||
package fsnotify
|
||||
|
||||
import "gitee.com/johng/gf/third/golang.org/x/sys/unix"
|
||||
import "github.com/gogf/gf/third/golang.org/x/sys/unix"
|
||||
|
||||
// note: this constant is not defined on BSD
|
||||
const openMode = unix.O_EVTONLY
|
||||
|
||||
Reference in New Issue
Block a user