feat: init commit
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
# go-scripts
|
||||
|
||||
Go lang scripts
|
||||
|
||||
> https://github.com/erning/gorun.git
|
||||
|
||||
|
||||
|
||||
|
||||
3
helloworld-go/go.mod
Normal file
3
helloworld-go/go.mod
Normal file
@@ -0,0 +1,3 @@
|
||||
module helloworld
|
||||
|
||||
go 1.23.0
|
||||
8
helloworld-go/main.go
Executable file
8
helloworld-go/main.go
Executable file
@@ -0,0 +1,8 @@
|
||||
/// 2>/dev/null ; gorun "$0" "$@" ; exit $?
|
||||
// OR: #!/usr/bin/env gorun
|
||||
|
||||
package main
|
||||
|
||||
func main() {
|
||||
println("Hello world.")
|
||||
}
|
||||
Reference in New Issue
Block a user