mirror of
https://github.com/engineer-man/piston.git
synced 2025-04-22 13:06:27 +02:00
pkg(go-1.16.2): Added go 1.16.2
This commit is contained in:
parent
a1aba52c3a
commit
cbb71341e3
5 changed files with 22 additions and 0 deletions
4
packages/go/1.16.2/build.sh
vendored
Executable file
4
packages/go/1.16.2/build.sh
vendored
Executable file
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env bash
|
||||
wget https://golang.org/dl/go1.16.2.linux-amd64.tar.gz
|
||||
tar -xzf go1.16.2.linux-amd64.tar.gz
|
||||
rm go1.16.2.linux-amd64.tar.gz
|
2
packages/go/1.16.2/environment
vendored
Normal file
2
packages/go/1.16.2/environment
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
export PATH=$PWD/go/bin:$PATH
|
||||
export GOPATH=$PWD/gopath
|
6
packages/go/1.16.2/metadata.json
vendored
Normal file
6
packages/go/1.16.2/metadata.json
vendored
Normal file
|
@ -0,0 +1,6 @@
|
|||
{
|
||||
"language": "go",
|
||||
"version": "1.16.2",
|
||||
"author": "Victor Frazao <luiz_victor_frazao@hotmail.com>",
|
||||
"aliases": ["go", "golang"]
|
||||
}
|
3
packages/go/1.16.2/run
vendored
Normal file
3
packages/go/1.16.2/run
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
GOCACHE=$PWD go run $*
|
7
packages/go/1.16.2/test.go
vendored
Normal file
7
packages/go/1.16.2/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