Strategy Pattern with Golang

Hey everyone I wanna share this post with the community for learn how to implement the adapter pattern using Golang for this we will use an example code about how this works with a programming language didn’t have class.

¿What it’s Strategy Pattern?

Jumping to the code for understand it better.

Strategy interface

Concrete strategy