Add an API for webhooks
Review Request #10053 — Created July 2, 2018 and submitted
Webhooks can now be created, deleted, updated, or retrieved from the web
Now that we have multiple sub-routers, (e.g. for repos/ and hooks/), the
router building code has been refactored into a data type (
and method (
addRoutes) so that the same code does not need to be
repeated for each set of routes.
Co-authored-by: Florie Cai firstname.lastname@example.org
go fmt ./....