19 lines
229 B
Go
Raw Normal View History

package main
import "time"
func main() {
// Background jobs
go func() {
for {
AiringAnime()
time.Sleep(time.Duration(2) * time.Second)
}
}()
// Main loop
for {
time.Sleep(time.Duration(10) * time.Second)
}
}