#Need Help with GoLang Course - "go test" Command Not Recognized

4 messages · Page 1 of 1 (latest)

bold flower
#

Hello Everyone,

I hope this message finds you well. I am currently enrolled in the GoLang course/track and recently reconnected Exercism using the CLI on VSCode editor. I have set up my workspace at the directory c:/Users/Ivan Santos/Exercism/go and have successfully downloaded the exercise files to practice.

However, when attempting to run the "go test" command, I encountered the following error:
`
PS C:\Users\Ivan Santos\Exercism\go\need-for-speed> go test -v --bench . --benchmem
go : The term 'go' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

  • go test -v --bench . --benchmem
  • ~~
    • CategoryInfo : ObjectNotFound: (go:String) [], CommandNotFoundException
    • FullyQualifiedErrorId : CommandNotFoundException
      `
      I've also received the same error when running go test without additional arguments.

Could someone please assist me in resolving this issue? Any guidance or suggestions would be greatly appreciated.

Thank you in advance for your help!

dull geode
#

I'm no go expert, but that error sounds like you didn't install go or installed it incorrectly

high solstice
#

The track docs should also have Go install instructions.