Handler and Middleware Design Pattern in Golang
I recently started working on a SlackBot project of my own using Golang. As any of you would, I went on a quest for a library that would simplify my day and let me take advantage of what other community members have come up with to solve similar problems.
I came across the well-maintained slack-go library; I started coding my bot using the provided example. Everything worked fine…