'go install' not working

Hi all, im doing the hello word program from the site guide, its all ok until i edit the source file to add the reverse function, package gets created, but when i run the new hello executable it doesnt gets the new code. If i use the run command (go run hello/hello.go) it uses the reverse function but if i use (hello) (after go install) it uses the previous code. Any thoughts?

Sorry for bad english.

Thanks

Possibly go install is installing to somewhere other than where you’re running the binary from. Double check by removing the binary and re-running install, maybe.

done that, binary re created after go install, keeps displaying old message

Solved, i installed go in default folder then added custom path routes, binarys where installing in different folders, thanks Jakob!

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.