Skip to content

Commit f4b1706

Browse files
joeybloggsjoeybloggs
authored andcommitted
Fix some bad URL bad copy/replace
1 parent 693f597 commit f4b1706

File tree

6 files changed

+16
-16
lines changed

6 files changed

+16
-16
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ Library webhooks
22
================
33

44
[![Coverage Status](https://coveralls.io/repos/go-playground/webhooks/badge.svg?branch=v1&service=github)](https://coveralls.io/github/go-playground/webhooks?branch=v1)
5-
[![GoDoc](https://godoc.org/gopkg.in/go-playground/webhooks?status.svg)](https://godoc.org/gopkg.in/go-playground/webhooks)
5+
[![GoDoc](https://godoc.org/gopkg.in/go-playground/webhooks.v1?status.svg)](https://godoc.org/gopkg.in/go-playground/webhooks.v1)
66

77
Library webhooks allows for easy recieving and parsing of GitHub Webhook Events; more services to come i.e. BitBucket...
88

@@ -20,20 +20,20 @@ Installation
2020

2121
Use go get.
2222

23-
go get gopkg.in/go-playground/webhooks
23+
go get gopkg.in/go-playground/webhooks.v1
2424

2525
or to update
2626

27-
go get -u gopkg.in/go-playground/webhooks
27+
go get -u gopkg.in/go-playground/webhooks.v1
2828

2929
Then import the validator package into your own code.
3030

31-
import "gopkg.in/go-playground/webhooks"
31+
import "gopkg.in/go-playground/webhooks.v1"
3232

3333
Usage and documentation
3434
------
3535

36-
Please see http://godoc.org/gopkg.in/go-playground/webhooks for detailed usage docs.
36+
Please see http://godoc.org/gopkg.in/go-playground/webhooks.v1 for detailed usage docs.
3737

3838
##### Examples:
3939

@@ -45,8 +45,8 @@ import (
4545
"fmt"
4646
"strconv"
4747

48-
"gopkg.in/go-playground/webhooks"
49-
"gopkg.in/go-playground/webhooks/github"
48+
"gopkg.in/go-playground/webhooks.v1"
49+
"gopkg.in/go-playground/webhooks.v1/github"
5050
)
5151

5252
const (
@@ -101,8 +101,8 @@ import (
101101
"fmt"
102102
"strconv"
103103

104-
"gopkg.in/go-playground/webhooks"
105-
"gopkg.in/go-playground/webhooks/github"
104+
"gopkg.in/go-playground/webhooks.v1"
105+
"gopkg.in/go-playground/webhooks.v1/github"
106106
)
107107

108108
const (

examples/multiple-handlers/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"fmt"
55
"strconv"
66

7-
"gopkg.in/go-playground/webhooks"
8-
"gopkg.in/go-playground/webhooks/github"
7+
"gopkg.in/go-playground/webhooks.v1"
8+
"gopkg.in/go-playground/webhooks.v1/github"
99
)
1010

1111
const (

examples/single-handler/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"fmt"
55
"strconv"
66

7-
"gopkg.in/go-playground/webhooks"
8-
"gopkg.in/go-playground/webhooks/github"
7+
"gopkg.in/go-playground/webhooks.v1"
8+
"gopkg.in/go-playground/webhooks.v1/github"
99
)
1010

1111
const (

github/github.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"io/ioutil"
99
"net/http"
1010

11-
"gopkg.in/go-playground/webhooks"
11+
"gopkg.in/go-playground/webhooks.v1"
1212
)
1313

1414
// Webhook instance contains all methods needed to process events

github/github_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88
"testing"
99

1010
. "gopkg.in/go-playground/assert.v1"
11-
"gopkg.in/go-playground/webhooks"
11+
"gopkg.in/go-playground/webhooks.v1"
1212
)
1313

1414
// NOTES:

webhooks.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ func RunServer(s *http.Server, hook Webhook, path string) error {
6161
// RunTLSServer runs a custom server with TLS configuration.
6262
// NOTE: http.Server Handler will be overridden by this library, just set it to nil.
6363
// Setting the Certificates can be done in the http.Server.TLSConfig.Certificates
64-
// see example here: https://gopkg.in/go-playground/webhooks/blob/master/webhooks_test.go#L178
64+
// see example here: https://gopkg.in/go-playground/webhooks.v1/blob/master/webhooks_test.go#L178
6565
func RunTLSServer(s *http.Server, hook Webhook, path string) error {
6666

6767
srv := &server{

0 commit comments

Comments
 (0)