An open API service indexing awesome lists of open source software.

https://github.com/zkfmapf123/go-mini-api-template

go mini api template
https://github.com/zkfmapf123/go-mini-api-template

Last synced: 12 months ago
JSON representation

go mini api template

Awesome Lists containing this project

README

          

# Go-API-Template (Single...)

## swagger 등록하는 법

```sh
## in repository
go install github.com/swaggo/swag/cmd/swag@latest

## swag error
zsh: command not found: swag

## swag error solution
export PATH=$(go env GOPATH)/bin:$PATH

## fmt (formatting)
swag fmt

## init (init)
swag init

## import 등록

import (
...
_ "{application}/docs
)
```