The adapter patter is one of the simplest patterns in which an interface is used to connect two otherwise incompatible types.
The adapter pattern is a structural design pattern that allows objects with incompatible interfaces to collaborate.
- Go (version >= 1.18)
- Clone the repository
git clone git remote add origin [email protected]:lkendrickd/simple-adapter.git
- Change directory
cd simple-adapter
- Run the application
go run main.go