feat: add kitexcall skeleton #10
Annotations
4 errors and 3 warnings
lint
golangci-lint exit with code 3
|
staticcheck
too many errors","code":{"value":"compile","url":"https://staticcheck.io/docs/checks#compile"},"location":{"path":"","range":{"start":{"line":0,"column":0}}},"severity":"ERROR"}
|
staticcheck
[staticcheck] reported by reviewdog 🐶
# github.com/cloudwego/kitex/pkg/utils
/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:54:54: not enough arguments in call to t.tProt.WriteMessageBegin
have (string, thrift.TMessageType, int32)
want (context.Context, string, thrift.TMessageType, int32)
/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:57:21: not enough arguments in call to msg.Write
have (thrift.TProtocol)
want (context.Context, thrift.TProtocol)
/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:60:11: not enough arguments in call to t.tProt.WriteMessageEnd
have ()
want (context.Context)
/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:74:35: not enough arguments in call to t.tProt.ReadMessageBegin
have ()
want (context.Context)
/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:79:27: not enough arguments in call to exception.Read
have (thrift.TProtocol)
want (context.Context, thrift.TProtocol)
/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:82:12: not enough arguments in call to t.tProt.ReadMessageEnd
have ()
want (context.Context)
/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:88:20: not enough arguments in call to msg.Read
have (thrift.TProtocol)
want (context.Context, thrift.TProtocol)
/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:91:2: not enough arguments in call to t.tProt.ReadMessageEnd
have ()
want (context.Context)
/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:100:21: not enough arguments in call to msg.Write
have (thrift.TProtocol)
want (context.Context, thrift.TProtocol)
/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:114:20: not enough arguments in call to msg.Read
have (thrift.TProtocol)
want (context.Context, thrift.TProtocol)
/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:114:20: too many errors
Raw Output:
{"source":{"name":"staticcheck","url":"https://staticcheck.io"},"message":"# github.com/cloudwego/kitex/pkg/utils\n/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:54:54: not enough arguments in call to t.tProt.WriteMessageBegin\n\thave (string, thrift.TMessageType, int32)\n\twant (context.Context, string, thrift.TMessageType, int32)\n/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:57:21: not enough arguments in call to msg.Write\n\thave (thrift.TProtocol)\n\twant (context.Context, thrift.TProtocol)\n/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:60:11: not enough arguments in call to t.tProt.WriteMessageEnd\n\thave ()\n\twant (context.Context)\n/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:74:35: not enough arguments in call to t.tProt.ReadMessageBegin\n\thave ()\n\twant (context.Context)\n/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:79:27: not enough arguments in call to exception.Read\n\thave (thrift.TProtocol)\n\twant (context.Context, thrift.TProtocol)\n/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:82:12: not enough arguments in call to t.tProt.ReadMessageEnd\n\thave ()\n\twant (context.Context)\n/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:88:20: not enough arguments in call to msg.Read\n\thave (thrift.TProtocol)\n\twant (context.Context, thrift.TProtocol)\n/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:91:2: not enough arguments in call to t.tProt.ReadMessageEnd\n\thave ()\n\twant (context.Context)\n/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:100:21: not enough arguments in call to msg.Write\n\thave (thrift.TProtocol)\n\twant (context.Context, thrift.TProtocol)\n/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/utils/thrift.go:114:20: not enough arguments in call to msg.Read\n\thave (thrift.TProtocol)\n\twant (context.Context, thrift.TProtocol)\n/root/go/pkg/mod/github.com/cloudwego/[email protected]/pkg/
|
staticcheck
Process completed with exit code 1.
|
compliant
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
staticcheck
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-go@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|