[readme] update
This commit is contained in:
11
README.md
11
README.md
@@ -2,7 +2,16 @@
|
||||
We use swaggo for generating api-specs: https://github.com/swaggo/swag
|
||||
Required: `golang`, `swag`
|
||||
|
||||
## Run
|
||||
## Run
|
||||
```bash
|
||||
go mod tidy
|
||||
go run main.go
|
||||
```
|
||||
|
||||
## Run with new Docs
|
||||
```bash
|
||||
go mod tidy
|
||||
swag init --parseDependency --parseInternal; go run main.go
|
||||
```
|
||||
|
||||
Once running visit http://localhost:8080/swagger/index.html
|
||||
|
||||
Reference in New Issue
Block a user