Package: go-cve-dictionary / 0.3.1-4

fix-path-of-labstack-echo.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
Description: Fix import path of labstack-echo from echo to echo.v3
 version 3 of echo has been renamed to echo.v3 in debian.
 Therefore, we need to change import path of this package from echo to echo.v3.
Forwarded: not-needed
Author: Nobuhiro Iwamatsu <[email protected]>
Last-Update: 2018-03-09

diff --git a/server/server.go b/server/server.go
index 55bc419..31e06b7 100644
--- a/server/server.go
    b/server/server.go
@@ -9,8  9,8 @@ import (
 	"github.com/kotakanbe/go-cve-dictionary/config"
 	"github.com/kotakanbe/go-cve-dictionary/db"
 	log "github.com/kotakanbe/go-cve-dictionary/log"
-	"github.com/labstack/echo"
-	"github.com/labstack/echo/middleware"
 	"github.com/labstack/echo.v3"
 	"github.com/labstack/echo.v3/middleware"
 )
 
 // Start starts CVE dictionary HTTP Server.