Repository: igor-petruk/scriptisto (language: rust)

Issue:
Cannot excecute go scripts
## 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

- Version: v2.1.1
- Platform: 6.9.3-arch1-1


Discussion / hints:

Fix patch:
diff --git a/data/templates/go.go b/data/templates/go.go
index db52cf8..3a846a8 100755
--- a/data/templates/go.go
+++ b/data/templates/go.go
@@ -4,9 +4,16 @@ package main
 
 // scriptisto-begin
 // script_src: main.go
-// build_once_cmd: go get github.com/fatih/color
+// build_once_cmd: go mod tidy
 // build_cmd: go build -o script
 // replace_shebang_with: //
+// files:
+//  - path: go.mod
+//    content: |
+//      module example.com/a/b
+//      require (
+//          github.com/fatih/color v1.13.0
+//      )
 // scriptisto-end
 
 import "github.com/fatih/color"


Test patch: