1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-04-27 13:48:56 +08:00
2013-11-13 20:47:21 -08:00

19 lines
201 B
Go

package main
import (
"fmt"
. "gobot"
"time"
)
func main() {
robot := Robot{
Work: func() {
Every(300*time.Millisecond, func() { fmt.Println("Greetings human") })
},
}
robot.Start()
}