1
0
mirror of https://github.com/hybridgroup/gobot.git synced 2025-05-11 19:29:20 +08:00
2013-10-22 16:45:31 -07:00

19 lines
216 B
Go

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