mirror of
https://github.com/adnanh/webhook.git
synced 2025-10-26 11:10:58 +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 | ||