gotests: can't find `gotest`in GOPATH. Try to invoke go get gotest

Hi,

I'm trying to use the GENERATE test for file functionality.

I installed gotests as instructed

go get -u github.com/cweill/gotests

 

Using the terminal window in Goland it work perfectly and I get a table driven generated test (gotests -all -w  filename.go)

While if I right click GENERATE in goland I get the gotests: can't find `gotest`in GOPATH. Try to invoke go get gotest

What am I missing?

Thanks

0
1 comment
Avatar
Stephane Rainville

Well I found the solution.

Exit Goland. Restart Goland. 

It works now.

 

0

Please sign in to leave a comment.