pkg(go-1.16.2): Added go 1.16.2
This commit is contained in:
parent
a1aba52c3a
commit
cbb71341e3
|
@ -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
|
|
@ -0,0 +1,2 @@
|
||||||
|
export PATH=$PWD/go/bin:$PATH
|
||||||
|
export GOPATH=$PWD/gopath
|
|
@ -0,0 +1,6 @@
|
||||||
|
{
|
||||||
|
"language": "go",
|
||||||
|
"version": "1.16.2",
|
||||||
|
"author": "Victor Frazao <luiz_victor_frazao@hotmail.com>",
|
||||||
|
"aliases": ["go", "golang"]
|
||||||
|
}
|
|
@ -0,0 +1,3 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
GOCACHE=$PWD go run $*
|
|
@ -0,0 +1,7 @@
|
||||||
|
package main
|
||||||
|
|
||||||
|
import "fmt"
|
||||||
|
|
||||||
|
func main() {
|
||||||
|
fmt.Println("OK")
|
||||||
|
}
|
Loading…
Reference in New Issue