18 lines
333 B
Markdown
18 lines
333 B
Markdown
## Dependencies
|
|
We use swaggo for generating api-specs: https://github.com/swaggo/swag
|
|
Required: `golang`, `swag`
|
|
|
|
## 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
|