mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-23 05:26:28 +02:00
Add files via upload
This commit is contained in:
parent
2d82118fff
commit
4d3abe1bc3
5 changed files with 25 additions and 0 deletions
4
packages/go/1.20.3/build.sh
vendored
Normal file
4
packages/go/1.20.3/build.sh
vendored
Normal file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
curl -LO https://golang.org/dl/go1.20.3.linux-amd64.tar.gz
|
||||
tar -xzf go1.20.3.linux-amd64.tar.gz
|
||||
rm go1.20.3.linux-amd64.tar.gz
|
2
packages/go/1.20.3/environment
vendored
Normal file
2
packages/go/1.20.3/environment
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
export PATH=$PWD/go/bin:$PATH
|
||||
export GOPATH=$PWD/gopath
|
5
packages/go/1.20.3/metadata.json
vendored
Normal file
5
packages/go/1.20.3/metadata.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"language": "go",
|
||||
"version": "1.20.3",
|
||||
"aliases": ["go", "golang"]
|
||||
}
|
7
packages/go/1.20.3/run
vendored
Normal file
7
packages/go/1.20.3/run
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
mv $1 $1.go
|
||||
#filename=$1.go
|
||||
filename=*.go
|
||||
shift
|
||||
GOCACHE=$PWD go run $filename "$@"
|
7
packages/go/1.20.3/test.go
vendored
Normal file
7
packages/go/1.20.3/test.go
vendored
Normal file
|
@ -0,0 +1,7 @@
|
|||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
fmt.Println("OK")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue