refactor:调整 grpc 部分逻辑实现&补充日志打印 #144
Annotations
10 errors and 1 warning
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
|
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
This job failed
Loading