delve/fixtures/livetestprog.go

17 lines
160 B
Go
Raw Normal View History

package main
import (
"fmt"
"os"
"time"
)
func main() {
fmt.Println(os.Getpid())
time.Sleep(3 * time.Second)
for {
fmt.Println("Hello, world!")
}
}