Proper version name to the module.

This commit is contained in:
Alex 2019-12-18 12:23:29 +01:00
parent f2262c67cf
commit 21b811142f
7 changed files with 14 additions and 14 deletions

View File

@ -24,7 +24,7 @@ With several differences:
## Installation ## Installation
``` ```
go get github.com/echo-go/echoswagger go get github.com/echo-go/echoswagger/v2
``` ```
## Example ## Example
@ -37,7 +37,7 @@ import (
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/labstack/echo/v4/middleware" "github.com/labstack/echo/v4/middleware"
"github.com/echo-go/echoswagger" "github.com/echo-go/echoswagger/v2"
) )
func main() { func main() {

View File

@ -26,7 +26,7 @@ import (
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/echo-go/echoswagger" "github.com/echo-go/echoswagger/v2"
) )
type PetController struct{} type PetController struct{}

View File

@ -27,7 +27,7 @@ import (
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/echo-go/echoswagger" "github.com/echo-go/echoswagger/v2"
) )
type StoreController struct{} type StoreController struct{}

View File

@ -28,7 +28,7 @@ import (
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/echo-go/echoswagger" "github.com/echo-go/echoswagger/v2"
) )
type UserController struct{} type UserController struct{}

View File

@ -25,7 +25,7 @@ import (
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/labstack/echo/v4/middleware" "github.com/labstack/echo/v4/middleware"
"github.com/echo-go/echoswagger" "github.com/echo-go/echoswagger/v2"
) )
func main() { func main() {

View File

@ -30,7 +30,7 @@ import (
"github.com/labstack/echo/v4" "github.com/labstack/echo/v4"
"github.com/stretchr/testify/assert" "github.com/stretchr/testify/assert"
"github.com/echo-go/echoswagger" "github.com/echo-go/echoswagger/v2"
) )
func TestMain(t *testing.T) { func TestMain(t *testing.T) {

14
go.mod
View File

@ -1,9 +1,9 @@
module github.com/echo-go/echoswagger module github.com/echo-go/echoswagger/v2
require ( require (
github.com/labstack/echo v3.3.10+incompatible // indirect github.com/labstack/echo v3.3.10+incompatible // indirect
github.com/labstack/echo/v4 v4.1.11 github.com/labstack/echo/v4 v4.1.11
github.com/stretchr/testify v1.4.0 github.com/stretchr/testify v1.4.0
) )
go 1.13 go 1.13