go-bitbucket
go-bitbucket copied to clipboard
How to parse hooks ?
Does the package contain any method to parse the webhooks on specific events (i.e. "push" event) ?
Looking for something similar to this ... https://github.com/xanzy/go-gitlab/blob/v0.53.0/event_parsing.go#L96 > ParseHook
I was looking for the same and found this: https://github.com/go-playground/webhooks
Thanks, @arnestorksen, that worked for me ! I was hoping if they also add this functionality here.. so that we don't have to use a different SDK for parsing ! I will keep a watch on this issue for the update from @ktrysmt
@Bhogayata-Keval @arnestorksen I will consider. You can also use the suggested library. https://github.com/go-playground/webhooks Thank you.
Reference: https://developer.atlassian.com/cloud/bitbucket/rest/api-group-webhooks/#api-hook-events-get