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

gofmt the code

This commit is contained in:
albertma 2016-04-29 10:28:10 +08:00
parent a271d67ba4
commit e607be6fa6

View File

@ -398,7 +398,6 @@ func StartTask() {
} }
func run() { func run() {
now := time.Now().Local() now := time.Now().Local()
for _, t := range AdminTaskList { for _, t := range AdminTaskList {
t.SetNext(now) t.SetNext(now)
@ -437,7 +436,7 @@ func run() {
// StopTask stop all tasks // StopTask stop all tasks
func StopTask() { func StopTask() {
if(isstart){ if isstart {
isstart = false isstart = false
stop <- true stop <- true
} }