fix: migrate to ReaderMock/OutputWriter #168
Annotations
10 errors and 1 warning
golangci-lint:
store/store.go#L9
could not import github.com/instill-ai/component/ai/ai21labs/v0 (-: # github.com/instill-ai/component/ai/ai21labs/v0
|
golangci-lint:
ai/ai21labs/v0/main.go#L101
cannot use e (variable of type *execution) as "github.com/instill-ai/component/base".IExecution value in return statement: *execution does not implement "github.com/instill-ai/component/base".IExecution (wrong type for method Execute)
|
golangci-lint:
ai/ai21labs/v0/main.go#L130
invalid argument: inputs (variable of type *structpb.Struct) for len
|
golangci-lint:
ai/ai21labs/v0/main.go#L133
cannot range over inputs (variable of type *structpb.Struct)
|
golangci-lint:
ai/ai21labs/v0/main.go#L142
cannot use outputs (variable of type []*structpb.Struct) as *structpb.Struct value in argument to out.Write) (typecheck)
|
golangci-lint:
store/store.go#L136
undefined: ai21labs (typecheck)
|
golangci-lint:
ai/ai21labs/v0/main.go#L101
cannot use e (variable of type *execution) as "github.com/instill-ai/component/base".IExecution value in return statement: *execution does not implement "github.com/instill-ai/component/base".IExecution (wrong type for method Execute)
|
golangci-lint:
ai/ai21labs/v0/main.go#L130
invalid argument: inputs (variable of type *structpb.Struct) for len
|
golangci-lint:
ai/ai21labs/v0/main.go#L133
cannot range over inputs (variable of type *structpb.Struct)
|
golangci-lint:
ai/ai21labs/v0/main.go#L142
cannot use outputs (variable of type []*structpb.Struct) as *structpb.Struct value in argument to out.Write
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-go@v4. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Loading