浏览代码

Modify several fun notes in fsnotify.go

Signed-off-by: lixiaobing10051267 <li.xiaobing1@zte.com.cn>
lixiaobing10051267 9 年之前
父节点
当前提交
ff2c898652
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      pkg/filenotify/fsnotify.go

+ 3 - 3
pkg/filenotify/fsnotify.go

@@ -2,17 +2,17 @@ package filenotify
 
 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 {
 	*fsnotify.Watcher
 }
 
-// GetEvents returns the fsnotify event channel receiver
+// Events returns the fsnotify event channel receiver
 func (w *fsNotifyWatcher) Events() <-chan fsnotify.Event {
 	return w.Watcher.Events
 }
 
-// GetErrors returns the fsnotify error channel receiver
+// Errors returns the fsnotify error channel receiver
 func (w *fsNotifyWatcher) Errors() <-chan error {
 	return w.Watcher.Errors
 }