igor-petruk / scriptisto

A language-agnostic "shebang interpreter" that enables you to write scripts in compiled languages.
Apache License 2.0
909 stars 25 forks source link

Cannot excecute go scripts #50

Closed AlexKintis closed 1 month ago

AlexKintis commented 1 month ago

Expected Behavior

Execute go script

Actual Behavior

go: go.mod file not found in current directory or any parent directory. 'go get' is no longer supported outside a module. To build and install a command, use 'go install' with a version, like 'go install example.com/cmd@latest' For more information, see https://golang.org/doc/go-get-install-deprecation or run 'go help get' or 'go help install'.

Steps to Reproduce the Problem

Create an go template and try to run it.

Specifications