mirror of
https://github.com/adnanh/webhook.git
synced 2025-05-12 08:34:43 +00:00
The hook package should be self-contained and return errors instead of relying on the log subsystem. This commit removes the logging side-effects from the hook package. Custom errors are returned that should be transparent to the caller -- they can just treat them as simple errors if they don't care to check the type. |
||
---|---|---|
.. | ||
hook.go | ||
hook_test.go |