Pārlūkot izejas kodu

Merge pull request #24977 from lixiaobing10051267/masterNote

Modify several fun notes in fsnotify.go
Vincent Demeester 9 gadi atpakaļ
vecāks
revīzija
1f3b400d3c
1 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. 3 3
      pkg/filenotify/fsnotify.go

+ 3 - 3
pkg/filenotify/fsnotify.go

@@ -2,17 +2,17 @@ package filenotify
 
 
 import "gopkg.in/fsnotify.v1"
 import "gopkg.in/fsnotify.v1"
 
 
-// fsNotify wraps the fsnotify package to satisfy the FileNotifer interface
+// fsNotifyWatcher wraps the fsnotify package to satisfy the FileNotifer interface
 type fsNotifyWatcher struct {
 type fsNotifyWatcher struct {
 	*fsnotify.Watcher
 	*fsnotify.Watcher
 }
 }
 
 
-// GetEvents returns the fsnotify event channel receiver
+// Events returns the fsnotify event channel receiver
 func (w *fsNotifyWatcher) Events() <-chan fsnotify.Event {
 func (w *fsNotifyWatcher) Events() <-chan fsnotify.Event {
 	return w.Watcher.Events
 	return w.Watcher.Events
 }
 }
 
 
-// GetErrors returns the fsnotify error channel receiver
+// Errors returns the fsnotify error channel receiver
 func (w *fsNotifyWatcher) Errors() <-chan error {
 func (w *fsNotifyWatcher) Errors() <-chan error {
 	return w.Watcher.Errors
 	return w.Watcher.Errors
 }
 }