From 0290c760188d7e68765d2f4d26fe7868a2bec11e Mon Sep 17 00:00:00 2001 From: "Gerasimos (Makis) Maropoulos" Date: Sun, 27 Oct 2019 12:23:29 +0200 Subject: [PATCH] before (test) release --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index febba9d..7a74786 100644 --- a/README.md +++ b/README.md @@ -16,7 +16,6 @@ ```sh $ go get -u github.com/swaggo/swag/cmd/swag -$ go get github.com/iris-contrib/swagger/v12@latest ``` 3. Run the [Swag](https://github.com/swaggo/swag) in your Go project root folder which contains `main.go` file, [Swag](https://github.com/swaggo/swag) will parse comments and generate required files(`docs` folder and `docs/doc.go`). @@ -28,9 +27,9 @@ $ swag init 4. Download [swagger for Iris](https://github.com/iris-contrib/swagger) by using: ```sh -$ go get -u github.com/iris-contrib/swagger -$ go get -u github.com/iris-contrib/swagger/swaggerFiles +$ go get github.com/iris-contrib/swagger/v12@latest ``` + And import following in your code: ```go