2023-07-29 14:44:09 +03:00
|
|
|
version: v1
|
2023-07-29 15:52:45 +03:00
|
|
|
managed:
|
|
|
|
enabled: true
|
|
|
|
go_package_prefix:
|
|
|
|
default: github.com/usememos/memos/proto/gen
|
2023-07-29 19:00:49 +03:00
|
|
|
except:
|
|
|
|
- buf.build/googleapis/googleapis
|
2023-07-29 14:44:09 +03:00
|
|
|
plugins:
|
2023-07-29 19:00:49 +03:00
|
|
|
- plugin: buf.build/protocolbuffers/go:v1.31.0
|
2023-07-29 15:52:45 +03:00
|
|
|
out: gen
|
|
|
|
opt:
|
|
|
|
- paths=source_relative
|
2023-07-29 19:00:49 +03:00
|
|
|
- plugin: buf.build/grpc/go:v1.3.0
|
2023-07-29 15:52:45 +03:00
|
|
|
out: gen
|
|
|
|
opt:
|
|
|
|
- paths=source_relative
|
2023-07-29 19:00:49 +03:00
|
|
|
- plugin: buf.build/grpc-ecosystem/gateway:v2.16.1
|
2023-07-29 15:52:45 +03:00
|
|
|
out: gen
|
|
|
|
opt:
|
|
|
|
- paths=source_relative
|
2023-07-29 19:12:16 +03:00
|
|
|
- plugin: buf.build/community/pseudomuto-doc:v1.5.1
|
|
|
|
out: gen
|
|
|
|
opt:
|
|
|
|
- markdown,README.md,source_relative
|