8000 Merge pull request #2 from rjz/feature/test-commit · rjz/githubhook@f5b624d · GitHub
[go: up one dir, main page]

Skip to content

Commit f5b624d

Browse files
committed
Merge pull request #2 from rjz/feature/test-commit
Improvements
2 parents 3eb7659 + 1b6917c commit f5b624d

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
---
2+
language: go
3+
go: 1.4

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ use `githubhook` to validate and parse its content:
2020

2121
Plays nicely with the [google/go-github][gh-go-github] client!
2222

23-
evt := github.PullRequest{}
23+
evt := github.PullRequestEvent{}
2424
if err := json.Unmarshal(hook.Payload, &evt); err != nil {
2525
fmt.Println("Invalid JSON?", err)
2626
}

0 commit comments

Comments
 (0)
0