Skip to content

Commit ffdff79

Browse files
committed
Update readme
1 parent 649eb88 commit ffdff79

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,24 @@
77
* [Official website](https://echo.labstack.com)
88
* [All middleware docs](https://echo.labstack.com/docs/category/middleware)
99

10+
## Usage
11+
12+
For Echo `v5` support:
13+
```bash
14+
go get github.com/labstack/echo-contrib/v5
15+
```
16+
1017
## Versioning
1118

1219
This repository does not use semantic versioning. MAJOR version tracks which Echo version should be used. MINOR version
13-
tracks API changes (possibly backwards incompatible, which is very rare occasion), and a PATCH version is incremented for fixes.
20+
tracks API changes (possibly backwards incompatible, which is a very rare occasion), and a PATCH version is incremented for fixes.
1421

1522
> **Always add at least one integration test in your project.**
1623
17-
For Echo `v5` use `v5.x.y` releases.
1824
Minimal needed Echo versions:
1925

20-
* `v5.x.y` needs Echo `v5.0.0+`, use `go get github.com/labstack/echo-contrib@v5`
21-
* `v0.18.0` needs Echo `v4.15.0+`, use `go get github.com/labstack/echo-contrib@v0.18.0`
26+
* `v5.x.y` needs Echo `v5.0.0+`, use `go get github.com/labstack/echo-contrib/v5@latest`
27+
* `v0.18.0` needs Echo `v4.15.0+`, use `go get github.com/labstack/echo-contrib@v0`
2228

2329
For `v0.x.y` releases the code is located in `v4` branch.
2430

0 commit comments

Comments
 (0)