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