Skip to content

Commit

Permalink
Merge pull request #1177 from kpaulisse/kpaulisse-binder
Browse files Browse the repository at this point in the history
Export the Binder type in slacktest
  • Loading branch information
kanata2 committed Mar 28, 2023
2 parents 21cbc5f + c13750f commit c8507df
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions slacktest/server.go
Expand Up @@ -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{}
Expand Down

0 comments on commit c8507df

Please sign in to comment.