diff --git a/slacktest/server.go b/slacktest/server.go index 1b18923a7..647031015 100644 --- a/slacktest/server.go +++ b/slacktest/server.go @@ -26,10 +26,10 @@ type Customize interface { Handle(pattern string, handler http.HandlerFunc) } -type binder func(Customize) +type Binder func(Customize) // NewTestServer returns a slacktest.Server ready to be started -func NewTestServer(custom ...binder) *Server { +func NewTestServer(custom ...Binder) *Server { serverChans := newMessageChannels() channels := &serverChannels{}