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:
parent
a271d67ba4
commit
e607be6fa6
@ -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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user