Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/opplieam/bb-grpc
https://github.com/opplieam/bb-grpc
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/opplieam/bb-grpc
- Owner: opplieam
- Created: 2024-08-24T20:05:32.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-08-29T18:36:28.000Z (5 months ago)
- Last Synced: 2024-11-17T07:17:10.391Z (2 months ago)
- Language: Makefile
- Size: 11.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Buy-Better Proto
## Overview
Buy-Better Proto is a centralized proto repository. It's auto generate stub files by GitHub action using `protoc`
when merge a pull request or push to master. Also, it's auto increment a tag version.## Project structure
```
├── Makefile
├── README.md
├── go.mod
├── go.sum
├── proto # define proto file in this directory
│ └── product
│ └── product.proto
└── protogen # auto generate by Github actions
└── go
└── product
├── product.pb.go
└── product_grpc.pb.go
```## Steps
1. Define proto service
2. Create pull request to validate schema
3. Merge pull request. GitHub actions will auto generate stubs files and increment a version tagThe consumer can now run `go get github.com/opplieam/bb-grpc/protogen/go/product`
Please visit `.github/workflows` for more information