Compare commits

...

2 Commits

Author SHA1 Message Date
Amarjeet Anand 29a8edd76a
Merge 42d5e3e32f into 59338eee33 2024-06-28 13:36:07 +01:00
Amarjeet Anand 42d5e3e32f add go 1.22.2 pkg 2024-04-28 19:11:31 +05:30
5 changed files with 24 additions and 0 deletions

4
packages/go/1.22.2/build.sh vendored Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env bash
curl -LO https://go.dev/dl/go1.22.2.linux-amd64.tar.gz
tar -xzf go1.22.2.linux-amd64.tar.gz
rm go1.22.2.linux-amd64.tar.gz

2
packages/go/1.22.2/environment vendored Normal file
View File

@ -0,0 +1,2 @@
export PATH=$PWD/go/bin:$PATH
export GOPATH=$PWD/gopath

5
packages/go/1.22.2/metadata.json vendored Normal file
View File

@ -0,0 +1,5 @@
{
"language": "go",
"version": "1.22.2",
"aliases": ["go", "golang"]
}

6
packages/go/1.22.2/run vendored Normal file
View File

@ -0,0 +1,6 @@
#!/usr/bin/env bash
mv $1 $1.go
filename=*.go
shift
GOCACHE=$PWD go run $filename "$@"

7
packages/go/1.22.2/test.go vendored Normal file
View File

@ -0,0 +1,7 @@
package main
import "fmt"
func main() {
fmt.Println("OK")
}