Fixed a typo

This commit is contained in:
Faissal Elamraoui 2016-11-23 15:58:38 +01:00
parent 621dbf2ed9
commit 1c0a569116
1 changed files with 1 additions and 1 deletions

View File

@ -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)