From 1c0a56911665f07b12b6c942b3fd1d17f1ad61b5 Mon Sep 17 00:00:00 2001 From: Faissal Elamraoui Date: Wed, 23 Nov 2016 15:58:38 +0100 Subject: [PATCH] Fixed a typo --- watch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/watch.go b/watch.go index a030c3b..b660fe9 100644 --- a/watch.go +++ b/watch.go @@ -96,7 +96,7 @@ func NewWatcher(paths []string, files []string, isgenerate bool) { } -// getFileModTime retuens unix timestamp of `os.File.ModTime` by given path. +// getFileModTime returns unix timestamp of `os.File.ModTime` for the given path. func getFileModTime(path string) int64 { path = strings.Replace(path, "\\", "/", -1) f, err := os.Open(path)