Skip to content

Commit 2e4ecd4

Browse files
authored
build(mod): update module path to v2 (#25)
1 parent 41f259f commit 2e4ecd4

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
![Supported Go Versions](https://img.shields.io/badge/Go-%3E%3D1.21-blue)
44
[![Package Version](https://badgen.net/github/release/flc1125/go-gitlab-webhook/stable)](https://github.com/flc1125/go-gitlab-webhook/releases)
5-
[![GoDoc](https://pkg.go.dev/badge/github.com/flc1125/go-gitlab-webhook)](https://pkg.go.dev/github.com/flc1125/go-gitlab-webhook)
5+
[![GoDoc](https://pkg.go.dev/badge/github.com/flc1125/go-gitlab-webhook/v2)](https://pkg.go.dev/github.com/flc1125/go-gitlab-webhook/v2)
66
[![codecov](https://codecov.io/gh/flc1125/go-gitlab-webhook/graph/badge.svg?token=QPTHZ5L9GT)](https://codecov.io/gh/flc1125/go-gitlab-webhook)
77
[![Go Report Card](https://goreportcard.com/badge/github.com/flc1125/go-gitlab-webhook)](https://goreportcard.com/report/github.com/flc1125/go-gitlab-webhook)
88
[![lint](https://github.com/flc1125/go-gitlab-webhook/actions/workflows/lint.yml/badge.svg)](https://github.com/flc1125/go-gitlab-webhook/actions/workflows/lint.yml)
@@ -21,7 +21,7 @@ This is a simple webhook dispatcher for Gitlab. It listens for incoming webhooks
2121
## 📦 Installation
2222

2323
```shell
24-
go get github.com/flc1125/go-gitlab-webhook
24+
go get github.com/flc1125/go-gitlab-webhook/v2
2525
```
2626

2727
## 💻 Usage
@@ -33,7 +33,7 @@ import (
3333
"context"
3434
"net/http"
3535

36-
"github.com/flc1125/go-gitlab-webhook"
36+
"github.com/flc1125/go-gitlab-webhook/v2"
3737
"gitlab.com/gitlab-org/api/client-go"
3838
)
3939

@@ -108,5 +108,5 @@ MIT License. See [LICENSE](LICENSE) for the full license text.
108108

109109
## 💖 Thanks
110110

111-
- [xanzy/go-gitlab](https://github.com/xanzy/go-gitlab): Go library for accessing the GitLab API
111+
- [gitlab-org/api/client-go](https://gitlab.com/gitlab-org/api/client-go)(Formerly known as: [xanzy/go-gitlab](https://github.com/xanzy/go-gitlab)): Go library for accessing the GitLab API
112112
- [stretchr/testify](github.com/stretchr/testify): A toolkit with common assertions and mocks that plays nicely with the standard library

go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module github.com/flc1125/go-gitlab-webhook
1+
module github.com/flc1125/go-gitlab-webhook/v2
22

33
go 1.21
44

0 commit comments

Comments
 (0)