From d19f910b4286e1bd182ef6a551907de4178d6542 Mon Sep 17 00:00:00 2001 From: Jonathan Chappelow Date: Wed, 22 Mar 2017 16:41:57 -0700 Subject: [PATCH] Fix go get path (cmd -> util), and format GitHub. GitHub seems to be capitalized in that manner when used in plain text, so update that while here. --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ee06bfc..35d9aba 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ HookServe http://godoc.org/github.com/phayes/hookserve/hookserve -HookServe is a small golang utility for receiving github webhooks. It's easy to use, flexible, and provides strong security though GitHub's HMAC webhook verification scheme. +HookServe is a small golang utility for receiving GitHub webhooks. It's easy to use, flexible, and provides strong security though GitHub's HMAC webhook verification scheme. ```go server := hookserve.NewServer() @@ -36,12 +36,12 @@ $ hookserve --port=8888 logger -t PushEvent #log github webhook push event to th sudo apt-get install golang # Download go. Alternativly build from source: https://golang.org/doc/install/source mkdir ~/.gopath && export GOPATH=~/.gopath # Replace with desired GOPATH export PATH=$PATH:$GOPATH/bin # For convenience, add go's bin dir to your PATH -go get github.com/phayes/hookserve/cmd/hookserve +go get github.com/phayes/hookserve/util/hookserve ``` ###Settings up GitHub Webhooks -Setting up webhooks on github is easy. Navigate to `github.com///settings/hooks` and create a new webhook. Setting up your webhook should look something like this: +Setting up webhooks on GitHub is easy. Navigate to `github.com///settings/hooks` and create a new webhook. Setting up your webhook should look something like this: -![Configuring webhooks in github](https://i.imgur.com/u3ciUD7.png) +![Configuring webhooks in GitHub](https://i.imgur.com/u3ciUD7.png)