Fix some bad URL bad copy/replace

This commit is contained in:
joeybloggs
2015-10-30 14:22:19 -04:00
parent 693f5977ff
commit f4b17062b8
6 changed files with 16 additions and 16 deletions
+9 -9
View File
@@ -2,7 +2,7 @@ Library webhooks
================ ================
[![Coverage Status](https://coveralls.io/repos/go-playground/webhooks/badge.svg?branch=v1&service=github)](https://coveralls.io/github/go-playground/webhooks?branch=v1) [![Coverage Status](https://coveralls.io/repos/go-playground/webhooks/badge.svg?branch=v1&service=github)](https://coveralls.io/github/go-playground/webhooks?branch=v1)
[![GoDoc](https://godoc.org/gopkg.in/go-playground/webhooks?status.svg)](https://godoc.org/gopkg.in/go-playground/webhooks) [![GoDoc](https://godoc.org/gopkg.in/go-playground/webhooks.v1?status.svg)](https://godoc.org/gopkg.in/go-playground/webhooks.v1)
Library webhooks allows for easy recieving and parsing of GitHub Webhook Events; more services to come i.e. BitBucket... Library webhooks allows for easy recieving and parsing of GitHub Webhook Events; more services to come i.e. BitBucket...
@@ -20,20 +20,20 @@ Installation
Use go get. Use go get.
go get gopkg.in/go-playground/webhooks go get gopkg.in/go-playground/webhooks.v1
or to update or to update
go get -u gopkg.in/go-playground/webhooks go get -u gopkg.in/go-playground/webhooks.v1
Then import the validator package into your own code. Then import the validator package into your own code.
import "gopkg.in/go-playground/webhooks" import "gopkg.in/go-playground/webhooks.v1"
Usage and documentation Usage and documentation
------ ------
Please see http://godoc.org/gopkg.in/go-playground/webhooks for detailed usage docs. Please see http://godoc.org/gopkg.in/go-playground/webhooks.v1 for detailed usage docs.
##### Examples: ##### Examples:
@@ -45,8 +45,8 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"gopkg.in/go-playground/webhooks" "gopkg.in/go-playground/webhooks.v1"
"gopkg.in/go-playground/webhooks/github" "gopkg.in/go-playground/webhooks.v1/github"
) )
const ( const (
@@ -101,8 +101,8 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"gopkg.in/go-playground/webhooks" "gopkg.in/go-playground/webhooks.v1"
"gopkg.in/go-playground/webhooks/github" "gopkg.in/go-playground/webhooks.v1/github"
) )
const ( const (
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"gopkg.in/go-playground/webhooks" "gopkg.in/go-playground/webhooks.v1"
"gopkg.in/go-playground/webhooks/github" "gopkg.in/go-playground/webhooks.v1/github"
) )
const ( const (
+2 -2
View File
@@ -4,8 +4,8 @@ import (
"fmt" "fmt"
"strconv" "strconv"
"gopkg.in/go-playground/webhooks" "gopkg.in/go-playground/webhooks.v1"
"gopkg.in/go-playground/webhooks/github" "gopkg.in/go-playground/webhooks.v1/github"
) )
const ( const (
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"io/ioutil" "io/ioutil"
"net/http" "net/http"
"gopkg.in/go-playground/webhooks" "gopkg.in/go-playground/webhooks.v1"
) )
// Webhook instance contains all methods needed to process events // Webhook instance contains all methods needed to process events
+1 -1
View File
@@ -8,7 +8,7 @@ import (
"testing" "testing"
. "gopkg.in/go-playground/assert.v1" . "gopkg.in/go-playground/assert.v1"
"gopkg.in/go-playground/webhooks" "gopkg.in/go-playground/webhooks.v1"
) )
// NOTES: // NOTES:
+1 -1
View File
@@ -61,7 +61,7 @@ func RunServer(s *http.Server, hook Webhook, path string) error {
// RunTLSServer runs a custom server with TLS configuration. // RunTLSServer runs a custom server with TLS configuration.
// NOTE: http.Server Handler will be overridden by this library, just set it to nil. // NOTE: http.Server Handler will be overridden by this library, just set it to nil.
// Setting the Certificates can be done in the http.Server.TLSConfig.Certificates // Setting the Certificates can be done in the http.Server.TLSConfig.Certificates
// see example here: https://gopkg.in/go-playground/webhooks/blob/master/webhooks_test.go#L178 // see example here: https://gopkg.in/go-playground/webhooks.v1/blob/master/webhooks_test.go#L178
func RunTLSServer(s *http.Server, hook Webhook, path string) error { func RunTLSServer(s *http.Server, hook Webhook, path string) error {
srv := &server{ srv := &server{