piotrkowalczuk/charon

View on GitHub
internal/grpcerr/grpc.go

Summary

Maintainability
A
0 mins
Test Coverage

exported function UnaryServerInterceptor should have comment or be unexported
Open

func UnaryServerInterceptor() grpc.UnaryServerInterceptor {
Severity: Minor
Found in internal/grpcerr/grpc.go by golint

if block ends with a return statement, so drop this else and outdent its block
Open

    } else {
Severity: Minor
Found in internal/grpcerr/grpc.go by golint

exported function StreamServerInterceptor should have comment or be unexported
Open

func StreamServerInterceptor() grpc.StreamServerInterceptor {
Severity: Minor
Found in internal/grpcerr/grpc.go by golint

There are no issues that match your filters.

Category
Status