hacks/goshebang/test.go
2016-04-09 17:40:26 +02:00

15 lines
238 B
Go
Executable File

//usr/bin/env go run "$0" "$@" ; exit "$?"
package main
import "time"
import "fmt"
import "os"
func main() {
fmt.Println("Hello World! It's all a bit tiring.")
time.Sleep(5 * time.Second)
fmt.Println("Goodbye World!")
os.Exit(1)
}