Add protogetter linter #2731
Add protogetter linter #2731
36.76% of diff hit (target 77.01%)
View this Pull Request on Codecov
36.76% of diff hit (target 77.01%)
Annotations
Check warning on line 27 in internal/caveats/errors.go
codecov / codecov/patch
internal/caveats/errors.go#L27
Added line #L27 was not covered by tests
Check warning on line 33 in internal/caveats/errors.go
codecov / codecov/patch
internal/caveats/errors.go#L33
Added line #L33 was not covered by tests
Check warning on line 50 in internal/caveats/errors.go
codecov / codecov/patch
internal/caveats/errors.go#L50
Added line #L50 was not covered by tests
Check warning on line 65 in internal/caveats/errors.go
codecov / codecov/patch
internal/caveats/errors.go#L64-L65
Added lines #L64 - L65 were not covered by tests
Check warning on line 76 in internal/caveats/errors.go
codecov / codecov/patch
internal/caveats/errors.go#L76
Added line #L76 was not covered by tests
Check warning on line 81 in internal/caveats/errors.go
codecov / codecov/patch
internal/caveats/errors.go#L81
Added line #L81 was not covered by tests
Check warning on line 103 in internal/caveats/errors.go
codecov / codecov/patch
internal/caveats/errors.go#L103
Added line #L103 was not covered by tests
Check warning on line 223 in internal/caveats/run.go
codecov / codecov/patch
internal/caveats/run.go#L223
Added line #L223 was not covered by tests
Check warning on line 360 in internal/caveats/run.go
codecov / codecov/patch
internal/caveats/run.go#L360
Added line #L360 was not covered by tests
Check warning on line 52 in internal/datasets/subjectsetbyresourceid.go
codecov / codecov/patch
internal/datasets/subjectsetbyresourceid.go#L52
Added line #L52 was not covered by tests
Check warning on line 73 in internal/datasets/subjectsetbytype.go
codecov / codecov/patch
internal/datasets/subjectsetbytype.go#L73
Added line #L73 was not covered by tests
Check warning on line 99 in internal/datasets/subjectsetbytype.go
codecov / codecov/patch
internal/datasets/subjectsetbytype.go#L99
Added line #L99 was not covered by tests
Check warning on line 645 in internal/datastore/common/sql.go
codecov / codecov/patch
internal/datastore/common/sql.go#L644-L645
Added lines #L644 - L645 were not covered by tests
Check warning on line 649 in internal/datastore/common/sql.go
codecov / codecov/patch
internal/datastore/common/sql.go#L647-L649
Added lines #L647 - L649 were not covered by tests
Check warning on line 653 in internal/datastore/common/sql.go
codecov / codecov/patch
internal/datastore/common/sql.go#L652-L653
Added lines #L652 - L653 were not covered by tests
Check warning on line 314 in internal/datastore/crdb/readwrite.go
codecov / codecov/patch
internal/datastore/crdb/readwrite.go#L314
Added line #L314 was not covered by tests
Check warning on line 420 in internal/datastore/crdb/readwrite.go
codecov / codecov/patch
internal/datastore/crdb/readwrite.go#L419-L420
Added lines #L419 - L420 were not covered by tests
Check warning on line 423 in internal/datastore/crdb/readwrite.go
codecov / codecov/patch
internal/datastore/crdb/readwrite.go#L422-L423
Added lines #L422 - L423 were not covered by tests
Check warning on line 426 in internal/datastore/crdb/readwrite.go
codecov / codecov/patch
internal/datastore/crdb/readwrite.go#L425-L426
Added lines #L425 - L426 were not covered by tests
Check warning on line 429 in internal/datastore/crdb/readwrite.go
codecov / codecov/patch
internal/datastore/crdb/readwrite.go#L428-L429
Added lines #L428 - L429 were not covered by tests
Check warning on line 437 in internal/datastore/crdb/readwrite.go
codecov / codecov/patch
internal/datastore/crdb/readwrite.go#L437
Added line #L437 was not covered by tests
Check warning on line 443 in internal/datastore/crdb/readwrite.go
codecov / codecov/patch
internal/datastore/crdb/readwrite.go#L440-L443
Added lines #L440 - L443 were not covered by tests
Check warning on line 446 in internal/datastore/crdb/readwrite.go
codecov / codecov/patch
internal/datastore/crdb/readwrite.go#L445-L446
Added lines #L445 - L446 were not covered by tests
Check warning on line 448 in internal/datastore/crdb/readwrite.go
codecov / codecov/patch
internal/datastore/crdb/readwrite.go#L448
Added line #L448 was not covered by tests
Check warning on line 104 in internal/datastore/memdb/caveat.go
codecov / codecov/patch
internal/datastore/memdb/caveat.go#L104
Added line #L104 was not covered by tests