Skip to content

Commit 570aa23

Browse files
authored
fix: use idiomatic go
1 parent 8b3cdd4 commit 570aa23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ func (srv *Server) SetChannelHandler(kind string, handler ChannelHandler) {
210210
srv.channelHandlers[kind] = handler
211211
}
212212

213-
func (srv *Server) GetChannelHandler(kind string) ChannelHandler {
213+
func (srv *Server) ChannelHandler(kind string) ChannelHandler {
214214
srv.ensureHandlers()
215215
return srv.channelHandlers[kind]
216216
}

0 commit comments

Comments
 (0)