zap
zap copied to clipboard
TODO: make Router more strict wrt types of handler functions
e.g. avoid silently accepting handler functions that want to return an error which leads to unexpected pointer issues.
at least comptime-introspect and check if 2nd param (the one after self) is zap.Request and if return type is void as opposed to !void or sth totally different.