PS Project for Advanced Branching and Looping in GO
We will develop the project "Vehicle Ratings" to showcase the below objectives
Objective | Example |
---|---|
Creating a switch statement with cases that uses logical tests | vehicle.go |
Creating a switch statement with an initializer | vehicle.go |
Writing an if statement with an initializer | vehicle.go |
Creating a switch statement with cases that uses equality checks | vehicle.go |
Using type switches | vehicle.go |