internal/grpcerr/grpc.go
exported function UnaryServerInterceptor should have comment or be unexported Open
Open
func UnaryServerInterceptor() grpc.UnaryServerInterceptor {
- Exclude checks
if block ends with a return statement, so drop this else and outdent its block Open
Open
} else {
- Exclude checks
exported function StreamServerInterceptor should have comment or be unexported Open
Open
func StreamServerInterceptor() grpc.StreamServerInterceptor {
- Exclude checks