mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 08:50:56 +00:00
gofmt the code
This commit is contained in:
parent
a271d67ba4
commit
e607be6fa6
@ -398,7 +398,6 @@ func StartTask() {
|
||||
}
|
||||
|
||||
func run() {
|
||||
|
||||
now := time.Now().Local()
|
||||
for _, t := range AdminTaskList {
|
||||
t.SetNext(now)
|
||||
@ -437,7 +436,7 @@ func run() {
|
||||
|
||||
// StopTask stop all tasks
|
||||
func StopTask() {
|
||||
if(isstart){
|
||||
if isstart {
|
||||
isstart = false
|
||||
stop <- true
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user