mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-09-13 20:04:45 +08:00
22 lines
260 B
Bash
Executable File
22 lines
260 B
Bash
Executable File
#!/bin/sh
|
|
#
|
|
# SPDX-License-Identifier: GPL-2.0-only
|
|
|
|
case "$1" in
|
|
golang*doc|golang*misc|golang*src|golang*tests) exit ;;
|
|
esac
|
|
|
|
cat <<'EOF' > hello.go
|
|
package main
|
|
|
|
import "fmt"
|
|
|
|
func main() {
|
|
fmt.Println("Hello, World!")
|
|
}
|
|
|
|
EOF
|
|
|
|
go run hello.go
|
|
rm hello.go
|