Compare commits
2 Commits
1ccb682a5c
...
93e38eedc1
Author | SHA1 | Date |
---|---|---|
e-sp | 93e38eedc1 | |
e-sp | f8f2e6f3d3 |
|
@ -0,0 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
curl -LO https://golang.org/dl/go1.20.1.linux-amd64.tar.gz
|
||||
tar -xzf go1.20.1.linux-amd64.tar.gz
|
||||
rm go1.20.1.linux-amd64.tar.gz
|
||||
|
|
@ -0,0 +1,2 @@
|
|||
export PATH=$PWD/go/bin:$PATH
|
||||
export GOPATH=$PWD/gopath
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"language": "go",
|
||||
"version": "1.20.1",
|
||||
"aliases": ["go", "golang"],
|
||||
"limit_overrides": {
|
||||
"max_process_count": 128,
|
||||
"run_timeout": 5000
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
mv $1 $1.go
|
||||
#filename=$1.go
|
||||
filename=*.go
|
||||
shift
|
||||
GOCACHE=$PWD go run $filename "$@"
|
|
@ -0,0 +1,7 @@
|
|||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
fmt.Println("OK")
|
||||
}
|
Loading…
Reference in New Issue