mirror of
https://gitee.com/johng/gf.git
synced 2024-12-05 05:37:55 +08:00
18 lines
214 B
Go
18 lines
214 B
Go
package main
|
|
|
|
import (
|
|
"fmt"
|
|
"github.com/gogf/gf/g/os/gtimer"
|
|
"time"
|
|
)
|
|
|
|
func main() {
|
|
for i := 0; i < 100000; i++ {
|
|
gtimer.Add(time.Second, func() {
|
|
|
|
})
|
|
}
|
|
fmt.Println("start")
|
|
time.Sleep(48*time.Hour)
|
|
}
|