1
0
mirror of https://github.com/beego/bee.git synced 2025-07-03 15:20:17 +00:00

Watch current directory and ignore non-go files.

This commit is contained in:
Unknown
2013-07-31 14:44:56 +08:00
parent 859c694ce7
commit 8cbca4826e
2 changed files with 4 additions and 2 deletions

View File

@ -139,7 +139,7 @@ func checkTMPFile(name string) bool {
return false
}
// checkIsGoFile return true if the name is HasSuffix go
// checkIsGoFile returns true if the name HasSuffix ".go".
func checkIsGoFile(name string) bool {
if strings.HasSuffix(name, ".go") {
return true