lileio / pubsub

A Publish & Subscribe library, with pluggable providers and middleware for Golang
MIT License
137 stars 23 forks source link

Currently there is no check for the output param. #10

Closed zoltrain closed 6 years ago

zoltrain commented 6 years ago

When a invocation of a handler is called and it doesn't return an error type it will try to assign said type to the error type.

This checks the outbound value for the handler function conforms to the error interface.