mirror of
https://github.com/datarhei/core.git
synced 2025-10-21 23:19:32 +08:00
18 lines
190 B
Go
18 lines
190 B
Go
package main
|
|
|
|
import (
|
|
"os/signal"
|
|
"time"
|
|
)
|
|
|
|
func main() {
|
|
// Ignore all signals
|
|
signal.Ignore()
|
|
|
|
ticker := time.NewTicker(time.Second)
|
|
defer ticker.Stop()
|
|
|
|
for range ticker.C {
|
|
}
|
|
}
|