Fixed Go multiple file problem

This commit is contained in:
yrfriend 2021-07-08 21:15:37 +03:00
parent c1fd13b672
commit 8900bae7c0
1 changed files with 2 additions and 1 deletions

View File

@ -1,6 +1,7 @@
#!/usr/bin/env bash
mv $1 $1.go
filename=$1.go
#filename=$1.go
filename=*.go
shift
GOCACHE=$PWD go run $filename "$@"