MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / Lint

Method Lint

tools/mage/proto.go:292–294  ·  view source on GitHub ↗

Lint lints all proto files.

(ctx context.Context)

Source from the content-addressed store, hash-verified

290
291// Lint lints all proto files.
292func (p Proto) Lint(ctx context.Context) error {
293 return runGoTool(append([]string{bufCLI, "lint"}, "api")...)
294}
295
296// Clean removes generated protos.
297func (p Proto) Clean(ctx context.Context) {

Callers

nothing calls this directly

Calls 1

runGoToolFunction · 0.85

Tested by

no test coverage detected