Skip to content

Remove 'gorilla.go', update interface in 'conn.go' #13

Remove 'gorilla.go', update interface in 'conn.go'

Remove 'gorilla.go', update interface in 'conn.go' #13

Triggered via push May 12, 2024 20:57
Status Failure
Total duration 31s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 1 warning
lint: internal/mock/mock.go#L1
: # github.com/jmcarbo/surrealdb.go/internal/mock
lint: internal/mock/mock.go#L14
cannot use w (variable of type *ws) as conn.Connection value in return statement: *ws does not implement conn.Connection (missing method Start) (typecheck)
lint: pkg/conn/nhooyr/nhooyr.go#L71
cannot use ws (variable of type *WebSocket) as conn.Connection value in return statement: *WebSocket does not implement conn.Connection (missing method Start) (typecheck)
lint: pkg/conn/nhooyr/nhooyr.go#L76
cannot use ws (variable of type *WebSocket) as conn.Connection value in return statement: *WebSocket does not implement conn.Connection (missing method Start) (typecheck)
lint: internal/benchmark/benchmark_test.go#L8
could not import github.com/jmcarbo/surrealdb.go/internal/mock (-: # github.com/jmcarbo/surrealdb.go/internal/mock
lint: internal/mock/mock.go#L14
cannot use w (variable of type *ws) as conn.Connection value in return statement: *ws does not implement conn.Connection (missing method Start)) (typecheck)
lint
issues found
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/surrealdb.go/surrealdb.go. Supported file pattern: go.sum