refactor:调整 grpc 部分逻辑实现&补充日志打印 #144
Annotations
11 errors
|
logger.go#L28
exported type LogLevel should have comment or be unexported
|
logger.go#L32
exported const LogDebug should have comment (or a comment on this block) or be unexported
|
logger.go#L40
exported function SetLogger should have comment or be unexported
|
logger.go#L44
exported function GetLogger should have comment or be unexported
|
logger.go#L48
exported type Logger should have comment or be unexported
|
ratelimit.go#L67
exported method RateLimitInterceptor.StreamServerInterceptor should have comment or be unexported
|
resolver.go#L36
exported type ResolverContext should have comment or be unexported
|
resolver.go#L50
comment on exported function RegisterResolverInterceptor should be of the form "RegisterResolverInterceptor ..."
|
server_option.go#L267
comment on exported function WithPolarisRateLimit should be of the form "WithPolarisRateLimit ..."
|
test/client_test.go#L100
should not use basic type untyped string as key in context.WithValue
|
This job was cancelled
Loading