We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3eb7659 + 1b6917c commit f5b624dCopy full SHA for f5b624d
.travis.yml
@@ -0,0 +1,3 @@
1
+---
2
+language: go
3
+go: 1.4
README.md
@@ -20,7 +20,7 @@ use `githubhook` to validate and parse its content:
20
21
Plays nicely with the [google/go-github][gh-go-github] client!
22
23
- evt := github.PullRequest{}
+ evt := github.PullRequestEvent{}
24
if err := json.Unmarshal(hook.Payload, &evt); err != nil {
25
fmt.Println("Invalid JSON?", err)
26
}
0 commit comments