diff --git a/.travis.yml b/.travis.yml index f256e04..d7960f3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,6 +1,6 @@ language: go go: - - 1.13.15 + - 1.15.6 - tip matrix: allow_failures: @@ -21,6 +21,7 @@ before_install: - ln -s $GOPATH/src/github.com/$TRAVIS_REPO_SLUG $GOPATH/src/gopkg.in/webhooks.v3 - ln -s $GOPATH/src/github.com/$TRAVIS_REPO_SLUG $GOPATH/src/gopkg.in/webhooks.v4 - ln -s $GOPATH/src/github.com/$TRAVIS_REPO_SLUG $GOPATH/src/gopkg.in/webhooks.v5 + - ln -s $GOPATH/src/github.com/$TRAVIS_REPO_SLUG $GOPATH/src/gopkg.in/webhooks.v6 before_script: - go get -t ./... @@ -29,6 +30,6 @@ script: - make test after_success: | - [ $TRAVIS_GO_VERSION = 1.13.15 ] && + [ $TRAVIS_GO_VERSION = 1.15.6 ] && overalls -project="github.com/go-playground/webhooks" -covermode=count -ignore=.git,_examples,testdata -debug && goveralls -coverprofile=overalls.coverprofile -service travis-ci -repotoken $COVERALLS_TOKEN diff --git a/README.md b/README.md index b406694..7dac452 100644 --- a/README.md +++ b/README.md @@ -1,10 +1,10 @@ Library webhooks ================ -![Project status](https://img.shields.io/badge/version-5.17.0-green.svg) +![Project status](https://img.shields.io/badge/version-6.0.0-green.svg) [![Build Status](https://travis-ci.org/go-playground/webhooks.svg?branch=v5)](https://travis-ci.org/go-playground/webhooks) [![Coverage Status](https://coveralls.io/repos/go-playground/webhooks/badge.svg?branch=v5&service=github)](https://coveralls.io/github/go-playground/webhooks?branch=v5) [![Go Report Card](https://goreportcard.com/badge/go-playground/webhooks)](https://goreportcard.com/report/go-playground/webhooks) -[![GoDoc](https://godoc.org/gopkg.in/go-playground/webhooks.v5?status.svg)](https://godoc.org/gopkg.in/go-playground/webhooks.v5) +[![GoDoc](https://godoc.org/gopkg.in/go-playground/webhooks.v6?status.svg)](https://godoc.org/gopkg.in/go-playground/webhooks.v6) ![License](https://img.shields.io/dub/l/vibe-d.svg) Library webhooks allows for easy receiving and parsing of GitHub, Bitbucket and GitLab Webhook Events @@ -24,17 +24,17 @@ Installation Use go get. ```shell -go get -u gopkg.in/go-playground/webhooks.v5 +go get -u gopkg.in/go-playground/webhooks.v6 ``` Then import the package into your own code. - import "gopkg.in/go-playground/webhooks.v5" + import "gopkg.in/go-playground/webhooks.v6" Usage and Documentation ------ -Please see http://godoc.org/gopkg.in/go-playground/webhooks.v5 for detailed usage docs. +Please see http://godoc.org/gopkg.in/go-playground/webhooks.v6 for detailed usage docs. ##### Examples: ```go @@ -45,7 +45,7 @@ import ( "net/http" - "gopkg.in/go-playground/webhooks.v5/github" + "gopkg.in/go-playground/webhooks.v6/github" ) const ( diff --git a/_examples/multiple-handlers/main.go b/_examples/multiple-handlers/main.go index 136deb6..24df01a 100644 --- a/_examples/multiple-handlers/main.go +++ b/_examples/multiple-handlers/main.go @@ -5,7 +5,7 @@ import ( "net/http" - "gopkg.in/go-playground/webhooks.v5/github" + "gopkg.in/go-playground/webhooks.v6/github" ) const ( diff --git a/_examples/single-handler/main.go b/_examples/single-handler/main.go index 372b08c..8a804cc 100644 --- a/_examples/single-handler/main.go +++ b/_examples/single-handler/main.go @@ -5,7 +5,7 @@ import ( "net/http" - "gopkg.in/go-playground/webhooks.v5/github" + "gopkg.in/go-playground/webhooks.v6/github" ) const (