gop: Download from latest release, but fatal.

What happened?

Download and run a simple example on ubuntu (Amd64).:

uname -v 
#35~1630100930~21.04~ae2753e-Ubuntu SMP Mon Aug 30 18:26:54 UTC 
$./gop run test.gop
[FATAL] /github/workspace/cmd/internal/run/run.go:91: findGoModFile: no such file or directory

What did you expect to happen?

Not should showing any errors

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 17 (11 by maintainers)

Most upvoted comments

@xushiwei , is there a plan to build a more meaningful doc website, i am willing to help.

export PATH=$PATH:$(go env GOPATH)/bin

Let’s solidify this logic into the script.

I suggest you install Go+ from source code.

My comment was not about how to install but about having clear installation instructions both at https://goplus.org/ and https://github.com/goplus/gop/ instead of having no clear instructions with only suggestion being a download link pointing to https://github.com/goplus/gop/releases

Thanks for your suggestion. I move installation instructions to beginning of https://github.com/goplus/gop/ now. And https://goplus.org/ is still under construction.

based on code https://github.com/goplus/gop/blob/main/cmd/internal/run/run.go#L91, gop run need to find a proper go.mod file, while it may not exist if user didn’t clone the code and execute all.bash.

we need consider fixing it.

Yes, need fixing it. In the promotion phase, it is important to give users clear and convenient instructions. 😄