There are a lot of tools out there that do the full-fledged mock (for testing github.com/slack-go/slack), but I still decide to provide an alternative because Instead of mocking slack client, I mock HTTP I only need a (very) few test cases, and I want something very lightweight. So the steps are: mock the server …