Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zeromicro/goctl-go-compact
https://github.com/zeromicro/goctl-go-compact
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/zeromicro/goctl-go-compact
- Owner: zeromicro
- Created: 2020-12-13T11:54:37.000Z (almost 4 years ago)
- Default Branch: master
- Last Pushed: 2023-10-25T15:46:03.000Z (about 1 year ago)
- Last Synced: 2024-08-01T18:25:01.557Z (4 months ago)
- Language: Go
- Homepage:
- Size: 164 KB
- Stars: 32
- Watchers: 4
- Forks: 10
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-zero - goctl-go-compact - goctl plugin that merges handler files (Tools and plugins for [go-zero](https://github.com/tal-tech/go-zero))
README
# goctl-go-compact
This plugin is used to merge all the routes in one file.
### 1. install goctl-go-compact
```
$ GOPROXY=https://goproxy.cn/,direct go install github.com/zeromicro/goctl-go-compact@latest
```### 2. environment setup
Make sure the installed `goctl-go-compact` in your `$PATH`
### 3. Usage
```
$ goctl api plugin -p goctl-go-compact -api user.api -dir .
```