Skip to content

Commit bb63adc

Browse files
authored
Merge pull request #144 from nipeharefa/update-docs
Use latest echo version for docs
2 parents 9bd4d5c + 1f8cda7 commit bb63adc

File tree

37 files changed

+59
-59
lines changed

37 files changed

+59
-59
lines changed

cookbook/auto-tls/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package main
33
import (
44
"net/http"
55

6-
"github.com/labstack/echo"
7-
"github.com/labstack/echo/middleware"
6+
"github.com/labstack/echo/v4"
7+
"github.com/labstack/echo/v4/middleware"
88
"golang.org/x/crypto/acme/autocert"
99
)
1010

cookbook/cors/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ package main
33
import (
44
"net/http"
55

6-
"github.com/labstack/echo"
7-
"github.com/labstack/echo/middleware"
6+
"github.com/labstack/echo/v4"
7+
"github.com/labstack/echo/v4/middleware"
88
)
99

1010
var (

cookbook/crud/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import (
44
"net/http"
55
"strconv"
66

7-
"github.com/labstack/echo"
8-
"github.com/labstack/echo/middleware"
7+
"github.com/labstack/echo/v4"
8+
"github.com/labstack/echo/v4/middleware"
99
)
1010

1111
type (

cookbook/embed-resources/server.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"net/http"
55

66
"github.com/GeertJohan/go.rice"
7-
"github.com/labstack/echo"
7+
"github.com/labstack/echo/v4"
88
)
99

1010
func main() {

cookbook/file-download/attachment/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package main
22

33
import (
4-
"github.com/labstack/echo"
5-
"github.com/labstack/echo/middleware"
4+
"github.com/labstack/echo/v4"
5+
"github.com/labstack/echo/v4/middleware"
66
)
77

88
func main() {

cookbook/file-download/inline/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package main
22

33
import (
4-
"github.com/labstack/echo"
5-
"github.com/labstack/echo/middleware"
4+
"github.com/labstack/echo/v4"
5+
"github.com/labstack/echo/v4/middleware"
66
)
77

88
func main() {

cookbook/file-download/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
package main
22

33
import (
4-
"github.com/labstack/echo"
5-
"github.com/labstack/echo/middleware"
4+
"github.com/labstack/echo/v4"
5+
"github.com/labstack/echo/v4/middleware"
66
)
77

88
func main() {

cookbook/file-upload/multiple/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"net/http"
77
"os"
88

9-
"github.com/labstack/echo"
10-
"github.com/labstack/echo/middleware"
9+
"github.com/labstack/echo/v4"
10+
"github.com/labstack/echo/v4/middleware"
1111
)
1212

1313
func upload(c echo.Context) error {

cookbook/file-upload/single/server.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import (
66
"net/http"
77
"os"
88

9-
"github.com/labstack/echo"
10-
"github.com/labstack/echo/middleware"
9+
"github.com/labstack/echo/v4"
10+
"github.com/labstack/echo/v4/middleware"
1111
)
1212

1313
func upload(c echo.Context) error {

cookbook/google-app-engine/app-engine.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ package main
55
import (
66
"net/http"
77

8-
"github.com/labstack/echo"
8+
"github.com/labstack/echo/v4"
99
)
1010

1111
func createMux() *echo.Echo {

0 commit comments

Comments
 (0)