Skip to content

Commit 69430a8

Browse files
authored
Update list of handled webhooks + fix some typos (#150)
Update list of handled webhooks + fix some typos
1 parent e9470cb commit 69430a8

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Library webhooks
77
[![GoDoc](https://godoc.org/github.com/go-playground/webhooks/v6?status.svg)](https://godoc.org/github.com/go-playground/webhooks/v6)
88
![License](https://img.shields.io/dub/l/vibe-d.svg)
99

10-
Library webhooks allows for easy receiving and parsing of GitHub, Bitbucket and GitLab Webhook Events
10+
Library webhooks allows for easy receiving and parsing of GitHub, Bitbucket, GitLab, Docker Hub and Gogs Webhook Events
1111

1212
Features:
1313

@@ -53,13 +53,13 @@ const (
5353
)
5454

5555
func main() {
56-
hook, _ := github.New(github.Options.Secret("MyGitHubSuperSecretSecrect...?"))
56+
hook, _ := github.New(github.Options.Secret("MyGitHubSuperSecretSecret...?"))
5757

5858
http.HandleFunc(path, func(w http.ResponseWriter, r *http.Request) {
5959
payload, err := hook.Parse(r, github.ReleaseEvent, github.PullRequestEvent)
6060
if err != nil {
6161
if err == github.ErrEventNotFound {
62-
// ok event wasn;t one of the ones asked to be parsed
62+
// ok event wasn't one of the ones asked to be parsed
6363
}
6464
}
6565
switch payload.(type) {
@@ -89,4 +89,5 @@ If the changes being proposed or requested are breaking changes, please create a
8989

9090
License
9191
------
92+
9293
Distributed under MIT License, please see license file in code for more details.

0 commit comments

Comments
 (0)