|
4 | 4 | [](http://godoc.org/github.com/labstack/echo)
|
5 | 5 | [](https://goreportcard.com/report/github.com/labstack/echo)
|
6 | 6 | [](https://travis-ci.org/labstack/echo)
|
7 |
| -[](https://codecov.io/gh/labstack/echo) |
| 7 | +[](https://codecov.io/gh/labstack/echo) |
8 | 8 | [](https://gitter.im/labstack/echo)
|
9 | 9 | [](https://forum.labstack.com)
|
10 | 10 | [](https://twitter.com/labstack)
|
11 | 11 | [](https://raw.githubusercontent.com/labstack/echo/master/LICENSE)
|
12 | 12 |
|
| 13 | +## Supported Go versions |
| 14 | + |
| 15 | +As of version 4.0.0, Echo is available as a [Go module](https://github.com/golang/go/wiki/Modules). |
| 16 | +Therefore a Go version capable of understanding /vN suffixed imports is required: |
| 17 | + |
| 18 | +- 1.9.7+ |
| 19 | +- 1.10.3+ |
| 20 | +- 1.11+ |
| 21 | + |
| 22 | +Any of these versions will allow you to import Echo as `github.com/labstack/echo/v4` which is the recommended |
| 23 | +way of using Echo going forward. |
| 24 | + |
| 25 | +For older versions, please use the latest v3 tag. |
| 26 | + |
13 | 27 | ## Feature Overview
|
14 | 28 |
|
15 | 29 | - Optimized HTTP router which smartly prioritize routes
|
@@ -44,8 +58,8 @@ package main
|
44 | 58 | import (
|
45 | 59 | "net/http"
|
46 | 60 |
|
47 |
| - "github.com/labstack/echo" |
48 |
| - "github.com/labstack/echo/middleware" |
| 61 | + "github.com/labstack/echo/v4" |
| 62 | + "github.com/labstack/echo/v4/middleware" |
49 | 63 | )
|
50 | 64 |
|
51 | 65 | func main() {
|
@@ -90,6 +104,7 @@ func hello(c echo.Context) error {
|
90 | 104 | - Improve/fix documentation
|
91 | 105 |
|
92 | 106 | ## Credits
|
| 107 | + |
93 | 108 | - [Vishal Rana](https://github.com/vishr) - Author
|
94 | 109 | - [Nitin Rana](https://github.com/nr17) - Consultant
|
95 | 110 | - [Contributors](https://github.com/labstack/echo/graphs/contributors)
|
|
0 commit comments