diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e8b6b46 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,3 @@ +--- +language: go +go: 1.4 diff --git a/README.md b/README.md index 1705ef8..a8b2393 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ use `githubhook` to validate and parse its content: Plays nicely with the [google/go-github][gh-go-github] client! - evt := github.PullRequest{} + evt := github.PullRequestEvent{} if err := json.Unmarshal(hook.Payload, &evt); err != nil { fmt.Println("Invalid JSON?", err) }