1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-14 19:29:32 +08:00

19 lines
216 B
Go
Raw Normal View History

2013-10-22 16:45:31 -07:00
package main
import (
. "gobot"
"time"
"fmt"
)
func main() {
robot := Robot{
Work: func(){
Every(300 * time.Millisecond, func(){ fmt.Println("Greetings human") })
},
}
robot.Start()
}