latest
This commit is contained in:
14
goshebang/test.go
Executable file
14
goshebang/test.go
Executable file
@@ -0,0 +1,14 @@
|
||||
//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)
|
||||
}
|
||||
Reference in New Issue
Block a user