mirror of
https://github.com/engineer-man/piston.git
synced 2025-05-17 00:56:27 +02:00
pkg(go-1.22.5): Updated go 1.22.5
This commit is contained in:
parent
59338eee33
commit
978791daca
5 changed files with 26 additions and 0 deletions
5
packages/go/1.22.5/build.sh
vendored
Normal file
5
packages/go/1.22.5/build.sh
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
curl -LO https://golang.org/dl/go1.22.5.linux-amd64.tar.gz
|
||||||
|
tar -xzf go1.22.5.linux-amd64.tar.gz
|
||||||
|
rm go1.22.5.linux-amd64.tar.gz
|
||||||
|
|
2
packages/go/1.22.5/environment
vendored
Normal file
2
packages/go/1.22.5/environment
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
export PATH=$PWD/go/bin:$PATH
|
||||||
|
export GOPATH=$PWD/gopath
|
5
packages/go/1.22.5/metadata.json
vendored
Normal file
5
packages/go/1.22.5/metadata.json
vendored
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{
|
||||||
|
"language": "go",
|
||||||
|
"version": "1.22.5",
|
||||||
|
"aliases": ["go", "golang"]
|
||||||
|
}
|
7
packages/go/1.22.5/run
vendored
Normal file
7
packages/go/1.22.5/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.22.5/test.go
vendored
Normal file
7
packages/go/1.22.5/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