- Verify go is working correctly
go version
- Verify git is working correctly
git --version
- Verify that your editor's go plugin is installed.
- "go get" a hello world program
go get github.com/zevdg/2018-codemash-go/labs/00/hello
- cd to the directory
cd $(go env GOPATH)/src/github.com/zevdg/2018-codemash-go/labs/00/hello
- edit it
- go run it
go run hello.go
- go build it
go build
- run the built executable
./hello
- go install it
go install
- run the installed version
$(go env GOPATH)/bin/hello
Bonus: print out an ascii picture