Skip to content

Commit 1f79ca2

Browse files
committed
Preparations for the new v6 branch: some updates for .v6 url
1 parent 59fb748 commit 1f79ca2

File tree

4 files changed

+11
-10
lines changed

4 files changed

+11
-10
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: go
22
go:
3-
- 1.13.15
3+
- 1.15.6
44
- tip
55
matrix:
66
allow_failures:
@@ -21,6 +21,7 @@ before_install:
2121
- ln -s $GOPATH/src/github.com/$TRAVIS_REPO_SLUG $GOPATH/src/gopkg.in/webhooks.v3
2222
- ln -s $GOPATH/src/github.com/$TRAVIS_REPO_SLUG $GOPATH/src/gopkg.in/webhooks.v4
2323
- ln -s $GOPATH/src/github.com/$TRAVIS_REPO_SLUG $GOPATH/src/gopkg.in/webhooks.v5
24+
- ln -s $GOPATH/src/github.com/$TRAVIS_REPO_SLUG $GOPATH/src/gopkg.in/webhooks.v6
2425

2526
before_script:
2627
- go get -t ./...
@@ -29,6 +30,6 @@ script:
2930
- make test
3031

3132
after_success: |
32-
[ $TRAVIS_GO_VERSION = 1.13.15 ] &&
33+
[ $TRAVIS_GO_VERSION = 1.15.6 ] &&
3334
overalls -project="github.com/go-playground/webhooks" -covermode=count -ignore=.git,_examples,testdata -debug &&
3435
goveralls -coverprofile=overalls.coverprofile -service travis-ci -repotoken $COVERALLS_TOKEN

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
Library webhooks
22
================
3-
<img align="right" src="https://raw.githubusercontent.com/go-playground/webhooks/v5/logo.png">![Project status](https://img.shields.io/badge/version-5.17.0-green.svg)
3+
<img align="right" src="https://raw.githubusercontent.com/go-playground/webhooks/v5/logo.png">![Project status](https://img.shields.io/badge/version-6.0.0-green.svg)
44
[![Build Status](https://travis-ci.org/go-playground/webhooks.svg?branch=v5)](https://travis-ci.org/go-playground/webhooks)
55
[![Coverage Status](https://coveralls.io/repos/go-playground/webhooks/badge.svg?branch=v5&service=github)](https://coveralls.io/github/go-playground/webhooks?branch=v5)
66
[![Go Report Card](https://goreportcard.com/badge/go-playground/webhooks)](https://goreportcard.com/report/go-playground/webhooks)
7-
[![GoDoc](https://godoc.org/gopkg.in/go-playground/webhooks.v5?status.svg)](https://godoc.org/gopkg.in/go-playground/webhooks.v5)
7+
[![GoDoc](https://godoc.org/gopkg.in/go-playground/webhooks.v6?status.svg)](https://godoc.org/gopkg.in/go-playground/webhooks.v6)
88
![License](https://img.shields.io/dub/l/vibe-d.svg)
99

1010
Library webhooks allows for easy receiving and parsing of GitHub, Bitbucket and GitLab Webhook Events
@@ -24,17 +24,17 @@ Installation
2424
Use go get.
2525

2626
```shell
27-
go get -u gopkg.in/go-playground/webhooks.v5
27+
go get -u gopkg.in/go-playground/webhooks.v6
2828
```
2929

3030
Then import the package into your own code.
3131

32-
import "gopkg.in/go-playground/webhooks.v5"
32+
import "gopkg.in/go-playground/webhooks.v6"
3333

3434
Usage and Documentation
3535
------
3636

37-
Please see http://godoc.org/gopkg.in/go-playground/webhooks.v5 for detailed usage docs.
37+
Please see http://godoc.org/gopkg.in/go-playground/webhooks.v6 for detailed usage docs.
3838

3939
##### Examples:
4040
```go
@@ -45,7 +45,7 @@ import (
4545

4646
"net/http"
4747

48-
"gopkg.in/go-playground/webhooks.v5/github"
48+
"gopkg.in/go-playground/webhooks.v6/github"
4949
)
5050

5151
const (

_examples/multiple-handlers/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55

66
"net/http"
77

8-
"gopkg.in/go-playground/webhooks.v5/github"
8+
"gopkg.in/go-playground/webhooks.v6/github"
99
)
1010

1111
const (

_examples/single-handler/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55

66
"net/http"
77

8-
"gopkg.in/go-playground/webhooks.v5/github"
8+
"gopkg.in/go-playground/webhooks.v6/github"
99
)
1010

1111
const (

0 commit comments

Comments
 (0)