mirror of
https://github.com/Li4n0/revsuit.git
synced 2026-09-27 09:01:53 +08:00
Use golint to normalize the code (#1)
This commit is contained in:
@@ -21,7 +21,7 @@ func init() {
|
||||
log.Error("Download qqwry.dat failed, caused by:%v, recommend to download it by yourself otherwise the `IpArea` will be null", err.Error())
|
||||
}
|
||||
}
|
||||
} else if info.ModTime().Sub(time.Now()) > 5*24*time.Hour {
|
||||
} else if time.Until(info.ModTime()) > 5*24*time.Hour {
|
||||
log.Info("Updating qqwry.dat...")
|
||||
err := download()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user