mirror of
https://github.com/usememos/memos.git
synced 2024-12-28 08:03:01 +08:00
chore: add readme about protobuf
This commit is contained in:
parent
8a796d12b4
commit
14aa3224ce
1 changed files with 17 additions and 0 deletions
17
proto/README.md
Normal file
17
proto/README.md
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
# Guide
|
||||||
|
|
||||||
|
## Prerequisites
|
||||||
|
|
||||||
|
- Install [buf](https://docs.buf.build/installation)
|
||||||
|
|
||||||
|
## Generate
|
||||||
|
|
||||||
|
```sh
|
||||||
|
buf generate
|
||||||
|
```
|
||||||
|
|
||||||
|
## Format
|
||||||
|
|
||||||
|
```sh
|
||||||
|
buf format -w
|
||||||
|
```
|
Loading…
Reference in a new issue