Skip to content

Commit

Permalink
Run in a loop
Browse files Browse the repository at this point in the history
  • Loading branch information
rp-thomas committed Oct 18, 2024
1 parent 7b0c562 commit 1cb464e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/hello-world.go
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
package main
import "fmt"
import "time"
func main() {
for {
fmt.Println("hello world")
time.Sleep(30 * time.Second)
}
}

0 comments on commit 1cb464e

Please sign in to comment.