Solution Review: Implement Stringer Interface

The solution of the “Implement Stringer Interface” challenge.

We'll cover the following

Solution overview

In Go, we do not use explicit keywords to implement an interface. A type can implement an interface by providing an implementation for its methods. Let's revisit the Stringer interface:

Get hands-on with 1400+ tech skills courses.