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
- Host: GitHub
- URL: https://github.com/zkfmapf123/go-mini-api-template
- Owner: zkfmapf123
- Created: 2025-03-02T12:46:17.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-03-09T06:54:48.000Z (over 1 year ago)
- Last Synced: 2025-03-09T07:26:42.172Z (over 1 year ago)
- Language: Go
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
)
```