https://github.com/douyu/proto
Public interface definitions of APIs.
https://github.com/douyu/proto
Last synced: about 1 year ago
JSON representation
Public interface definitions of APIs.
- Host: GitHub
- URL: https://github.com/douyu/proto
- Owner: douyu
- License: apache-2.0
- Created: 2023-03-31T08:34:00.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-12-22T11:01:39.000Z (over 2 years ago)
- Last Synced: 2025-06-04T23:11:31.935Z (about 1 year ago)
- Language: Go
- Size: 163 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
proto
===
This is a protocol buffer library for Go.
- Best practices for Go with protobuf
- Support define HTTP API with protobuf
- Support generate HTTP router for echo server
- Support generate struct tag for protobuf message
- Support generate swagger docs
Install
---
```bash
make init
```
Probuf Lint
---
```bash
make lint
```
Protobuf Breaking check
---
```bash
make breaking
```
Generate
---
```bash
make generate
```
Test
---
```bash
make test
```
Serve Swagger Docs
---
```bash
make serve
```