goimports-reviser: go command required, not found

Installed with snap and now I’m getting:

Failed to fix file: err: go command required, not found: exec: "go": executable file not found in $PATH: stderr:

even though go (1.19) is in my $PATH.

About this issue

  • Original URL
  • State: open
  • Created 10 months ago
  • Comments: 17 (9 by maintainers)

Most upvoted comments

I installed goimports-reviser with go (go install -v github.com/incu6us/goimports-reviser/v3@latest) . but I got the same error when i configure it in goland.