Skip to content

Latest commit

 

History

History
executable file
·
31 lines (21 loc) · 1.24 KB

README.md

File metadata and controls

executable file
·
31 lines (21 loc) · 1.24 KB

Windows

  1. Download GoLand from https://www.jetbrains.com/go/ Download GoLand

  2. Once downloaded, install it Install GoLand

  3. Create folders C:\go and C:\go\src Create folders

  4. Clone the workshop repo from https://github.com/WebstepSweden/goworkshop.git into the C:\go\src folder Clone workshop

  5. Open the C:\go folder with GoLand Open workshop

  6. Go to File > Settings > Go > GOROOT and choose Add SDK... > Download... Choose SDK

  7. Select the latest version and click Ok Download SDK

  8. Add the bin folder inside the downloaded sdk to your PATH environemt variable Add bin to PATH

  9. Back in GoLand, go to File > Settings > Go > GOPATH and add the C:\go folder to the Global GOPATH Add to GOPATH

  10. Open the try_me_first_test.go file and run the test by clicking the green arrow beside func TestIfThisWorks.... If everything works fine, you should see a confirmation in the run window Run first test