Preparations for the go modules way of work
This commit is contained in:
@@ -4,7 +4,7 @@ Library webhooks
|
||||
[](https://travis-ci.org/go-playground/webhooks)
|
||||
[](https://coveralls.io/github/go-playground/webhooks?branch=v6)
|
||||
[](https://goreportcard.com/report/go-playground/webhooks)
|
||||
[](https://godoc.org/gopkg.in/go-playground/webhooks.v6)
|
||||
[](https://godoc.org/github.com/go-playground/webhooks/v6)
|
||||

|
||||
|
||||
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.v6
|
||||
go get -u github.com/go-playground/webhooks/v6
|
||||
```
|
||||
|
||||
Then import the package into your own code.
|
||||
|
||||
import "gopkg.in/go-playground/webhooks.v6"
|
||||
import "github.com/go-playground/webhooks/v6"
|
||||
|
||||
Usage and Documentation
|
||||
------
|
||||
|
||||
Please see http://godoc.org/gopkg.in/go-playground/webhooks.v6 for detailed usage docs.
|
||||
Please see http://godoc.org/github.com/go-playground/webhooks/v6 for detailed usage docs.
|
||||
|
||||
##### Examples:
|
||||
```go
|
||||
@@ -45,7 +45,7 @@ import (
|
||||
|
||||
"net/http"
|
||||
|
||||
"gopkg.in/go-playground/webhooks.v6/github"
|
||||
"github.com/go-playground/webhooks/v6/github"
|
||||
)
|
||||
|
||||
const (
|
||||
|
||||
Reference in New Issue
Block a user