Merge pull request #294 from mehmetron/master

Fixed Go multiple file problem
This commit is contained in:
Thomas 2021-07-10 12:46:34 +12:00 committed by GitHub
commit b11be20b79
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

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