Ignore gocyclo lint for routing function

This commit is contained in:
Erik Johnston 2017-09-06 09:51:07 +01:00
parent 3f24dd716d
commit 4a41e45c50

View file

@ -387,6 +387,7 @@ func (r *RoomserverQueryAPI) QueryServerAllowedToSeeEvent(
}
// SetupHTTP adds the RoomserverQueryAPI handlers to the http.ServeMux.
// nolint: gocyclo
func (r *RoomserverQueryAPI) SetupHTTP(servMux *http.ServeMux) {
servMux.Handle(
api.RoomserverQueryLatestEventsAndStatePath,