Skip to content

Commit eda5632

Browse files
committed
Update the import of docs package
1 parent b7a1ade commit eda5632

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@ $ swag init -g actions/app.go
2424
```sh
2525
$ go get -u github.com/cippaciong/mw-swaggo
2626
```
27-
And import following in your `actions/app.go` code:
27+
And import following in your `actions/app.go` code, making sure to modify the last package name properly:
2828

2929
```go
3030
import(
3131
mwswaggo "github.com/cippaciong/mw-swaggo"
3232
"github.com/cippaciong/mw-swaggo/swaggerFiles"
33-
_ "github.com/cippaciong/mw-swaggo/example/docs"
33+
_ "github.com/<github_name>/<project_name>/docs"
3434
)
3535
```
3636

0 commit comments

Comments
 (0)