1
0
Fork 0
mirror of https://github.com/adnanh/webhook.git synced 2026-01-23 18:34:49 +00:00
webhook/hook
Cameron Moore f5f04ddaa2 Allow hooks file to be parsed as a template
Add a -template command line option that instructs webhook to parse the
hooks files as Go text templates.

Includes a `getenv` template func for retrieving environment variables.
2017-11-08 09:14:58 -06:00
..
hook.go Allow hooks file to be parsed as a template 2017-11-08 09:14:58 -06:00
hook_test.go Allow hooks file to be parsed as a template 2017-11-08 09:14:58 -06:00