1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-22 07:40:54 +00:00

beego: autoroute

This commit is contained in:
astaxie 2014-06-23 15:52:30 +08:00
parent 90f91b10c5
commit 9c5348f690

View File

@ -165,7 +165,7 @@ func compareFile(pkgRealpath string) bool {
return true
}
if v, ok := pkgLastupdate[pkgRealpath]; ok {
if ft.ModTime().UnixNano() >= v {
if ft.ModTime().UnixNano() <= v {
return false
}
}