2019-05-21 02:34:51 +02:00
|
|
|
mkdir "$CODEDIR" && cd "$CODEDIR"
|
2019-05-15 02:21:34 +02:00
|
|
|
|
2019-05-21 02:34:51 +02:00
|
|
|
export GOCACHE=/tmp/"$CODEDIR"/cache
|
2019-03-13 05:37:09 +01:00
|
|
|
echo "$1" > program.go
|
|
|
|
go run program.go
|
2019-05-15 02:21:34 +02:00
|
|
|
|
2019-05-21 02:34:51 +02:00
|
|
|
cd .. && rm -rf "$CODEDIR"
|