Compare commits

...

1 Commits

Author SHA1 Message Date
21b811142f Proper version name to the module. 2019-12-18 12:47:27 +01:00
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) {

2
go.mod
View File

@ -1,4 +1,4 @@
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