refactor: stream api #5458
pr-check.yml
on: pull_request
compliant
59s
golangci-lint
23s
Annotations
10 errors
golangci-lint:
pkg/endpoint/client/endpoint.go#L6
could not import github.com/cloudwego/kitex/pkg/streamx (-: import cycle not allowed in test) (typecheck)
|
golangci-lint:
pkg/rpcinfo/remoteinfo/remoteInfo.go#L24
"github.com/cloudwego/kitex/internal" imported and not used (typecheck)
|
golangci-lint:
internal/client/option.go#L29
could not import github.com/cloudwego/kitex/internal/stream (-: import cycle not allowed: import stack: [github.com/cloudwego/kitex/client github.com/cloudwego/kitex/client/callopt github.com/cloudwego/kitex/internal/client github.com/cloudwego/kitex/internal/stream github.com/cloudwego/kitex/pkg/endpoint github.com/cloudwego/kitex/pkg/streaming github.com/cloudwego/kitex/pkg/streamx github.com/cloudwego/kitex/pkg/rpcinfo github.com/cloudwego/kitex/internal/stream]) (typecheck)
|
golangci-lint:
internal/client/option.go#L52
could not import github.com/cloudwego/kitex/pkg/streamx (-: import cycle not allowed in test) (typecheck)
|
golangci-lint:
client/streamxclient/client_option.go#L21
could not import github.com/cloudwego/kitex/pkg/streamx (-: import cycle not allowed in test) (typecheck)
|
golangci-lint:
internal/server/option.go#L31
could not import github.com/cloudwego/kitex/internal/stream (-: import cycle not allowed: import stack: [github.com/cloudwego/kitex/client github.com/cloudwego/kitex/client/callopt github.com/cloudwego/kitex/internal/client github.com/cloudwego/kitex/internal/stream github.com/cloudwego/kitex/pkg/endpoint github.com/cloudwego/kitex/pkg/streaming github.com/cloudwego/kitex/pkg/streamx github.com/cloudwego/kitex/pkg/rpcinfo github.com/cloudwego/kitex/internal/stream]) (typecheck)
|
golangci-lint:
internal/mocks/remote/servicesearcher.go#L34
declared and not used: svcInfo (typecheck)
|
golangci-lint:
pkg/remote/trans/streamx/server_handler.go#L179
declared and not used: args (typecheck)
|
golangci-lint:
client/stream.go#L24
could not import github.com/cloudwego/kitex/internal/stream (-: import cycle not allowed: import stack: [github.com/cloudwego/kitex/client github.com/cloudwego/kitex/client/callopt github.com/cloudwego/kitex/internal/client github.com/cloudwego/kitex/internal/stream github.com/cloudwego/kitex/pkg/endpoint github.com/cloudwego/kitex/pkg/streaming github.com/cloudwego/kitex/pkg/streamx github.com/cloudwego/kitex/pkg/rpcinfo github.com/cloudwego/kitex/internal/stream]) (typecheck)
|
golangci-lint:
client/stream_test.go#L114
not enough arguments in call to newStream
|