Interfaces in Golang

A short tutorial on interfaces in Go

The programing language Go, developed by Google, was designed to be easy to understand and learn. However, their interfaces implementation is not always easy to grasp. In this article, I will explain interfaces in Go using a good old Shapes example.

Assignment: Create a command-line program to calculate the surface of geometric shapes: triangle, square, and circle.

Download the complete code from GitHub