Fmt formats and simplifies all proto files.
(ctx context.Context)
| 285 | |
| 286 | // Fmt formats and simplifies all proto files. |
| 287 | func (p Proto) Fmt(ctx context.Context) error { |
| 288 | return runGoTool(append([]string{bufCLI, "format", "-w"}, "api")...) |
| 289 | } |
| 290 | |
| 291 | // Lint lints all proto files. |
| 292 | func (p Proto) Lint(ctx context.Context) error { |
nothing calls this directly
no test coverage detected