From 21b811142f6e76422bc60857bec377393f9dbca8 Mon Sep 17 00:00:00 2001 From: Alex Date: Wed, 18 Dec 2019 12:23:29 +0100 Subject: [PATCH] Proper version name to the module. --- README.md | 4 ++-- examples/controller_pet.go | 2 +- examples/controller_store.go | 2 +- examples/controller_user.go | 2 +- examples/main.go | 2 +- examples/main_test.go | 2 +- go.mod | 14 +++++++------- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 06b407e..a3767fd 100644 --- a/README.md +++ b/README.md @@ -24,7 +24,7 @@ With several differences: ## Installation ``` -go get github.com/echo-go/echoswagger +go get github.com/echo-go/echoswagger/v2 ``` ## Example @@ -37,7 +37,7 @@ import ( "github.com/labstack/echo/v4" "github.com/labstack/echo/v4/middleware" - "github.com/echo-go/echoswagger" + "github.com/echo-go/echoswagger/v2" ) func main() { diff --git a/examples/controller_pet.go b/examples/controller_pet.go index 26d3e4d..f05839f 100644 --- a/examples/controller_pet.go +++ b/examples/controller_pet.go @@ -26,7 +26,7 @@ import ( "github.com/labstack/echo/v4" - "github.com/echo-go/echoswagger" + "github.com/echo-go/echoswagger/v2" ) type PetController struct{} diff --git a/examples/controller_store.go b/examples/controller_store.go index 05824eb..7b7eee6 100644 --- a/examples/controller_store.go +++ b/examples/controller_store.go @@ -27,7 +27,7 @@ import ( "github.com/labstack/echo/v4" - "github.com/echo-go/echoswagger" + "github.com/echo-go/echoswagger/v2" ) type StoreController struct{} diff --git a/examples/controller_user.go b/examples/controller_user.go index 13ad157..3034136 100644 --- a/examples/controller_user.go +++ b/examples/controller_user.go @@ -28,7 +28,7 @@ import ( "github.com/labstack/echo/v4" - "github.com/echo-go/echoswagger" + "github.com/echo-go/echoswagger/v2" ) type UserController struct{} diff --git a/examples/main.go b/examples/main.go index 033271b..eceeba8 100644 --- a/examples/main.go +++ b/examples/main.go @@ -25,7 +25,7 @@ import ( "github.com/labstack/echo/v4" "github.com/labstack/echo/v4/middleware" - "github.com/echo-go/echoswagger" + "github.com/echo-go/echoswagger/v2" ) func main() { diff --git a/examples/main_test.go b/examples/main_test.go index bb0d0e2..79465d9 100644 --- a/examples/main_test.go +++ b/examples/main_test.go @@ -30,7 +30,7 @@ import ( "github.com/labstack/echo/v4" "github.com/stretchr/testify/assert" - "github.com/echo-go/echoswagger" + "github.com/echo-go/echoswagger/v2" ) func TestMain(t *testing.T) { diff --git a/go.mod b/go.mod index e3dc7eb..a23f829 100644 --- a/go.mod +++ b/go.mod @@ -1,9 +1,9 @@ -module github.com/echo-go/echoswagger +module github.com/echo-go/echoswagger/v2 - require ( - github.com/labstack/echo v3.3.10+incompatible // indirect - github.com/labstack/echo/v4 v4.1.11 - github.com/stretchr/testify v1.4.0 - ) +require ( + github.com/labstack/echo v3.3.10+incompatible // indirect + github.com/labstack/echo/v4 v4.1.11 + github.com/stretchr/testify v1.4.0 +) - go 1.13 +go 1.13