-
Install and configure go https://go.dev/ Download and install go
'go version' to verify go download (will need to restart terminal to get changes) 'go' shows commands 'go help <topic>' for more info
-
Setup Project
- Install & setup VSCode
- Get Go extension
- 'Ctrl-shift-P' then 'Go: Install/Update Tools' Module is go project workspace
- Create folder for your project
- Run 'Go mod init github.com/pluralsight/webservice'
- Location tells go where to find dependencies
- Create file 'main.go'
- Run from:
- go run main.go
- go run github.com/pluralsight/webservice
(Excecution without navigating around hard drive)