Homework 3: Interfaces

Task

Use interfaces and data structures to build programs without generics in idiomatic Go. You will need to refer to the Go documentation.

Exercises

Complete the exercises in the hw3.go code file stub.

Be sure that your code is run through gofmt and compiles successfully before submitting. You will be learning many Go best practices throughout the semester that you will be expected to follow.

Submitting

You should submit your hw3.go to Canvas when you are done.

NOTE: Please submit only the completed hw3.go file, nothing else.