myriad/languages/go/run.sh

4 lines
91 B
Bash

export GOCACHE=/tmp/"$CODEDIR"/cache
printf %s "$1" > program.go
go run program.go || true