7. Getting Started Coding
Follow these steps to get started with the coding portion of Project 2.
- Install Golang v1.17 or newer.
- Complete the online Golang Tutorial.
- The tutorial can take quite a bit of time to complete, so plan accordingly.
- The tutorial is a helpful tool that you may end up referencing frequently, especially while learning Go for the first time.
- Accept the Project 2 GitHub Classroom Invite Link.
- At this step, you may receive an email asking you to join the
cs161-students
organization.
- At this step, you may receive an email asking you to join the
- Enter a team name. If you’re working with a partner, only one partner should create a team - the other partner should join the team through the list of teams.
- In the
client_test
directory of the checked out repository, rungo test
.- Go will automatically retrieve the dependencies defined in
go.mod
and run the tests defined inclient_test.go
. - It is expected that some tests will fail because you have not yet implemented all of the required functions.
- Go will automatically retrieve the dependencies defined in
Using GitHub
Best practice when using git is to commit small, logical units of work regularly. This makes it easier to revert related changes if something goes wrong. Additionally, push your changes from your local checkout to your GitHub repository frequently to back up your work in case something happens to your local machine, and to share your changes with your partner (if you have one).