Skip to content

improve route handlers #109

improve route handlers

improve route handlers #109

Triggered via push March 8, 2024 15:30
Status Failure
Total duration 57s
Artifacts

test.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Test: api/api_test.go#L53
h.ServeHTTP undefined (type SecretHandler has no field or method ServeHTTP)
Test: api/api_test.go#L147
h.ServeHTTP undefined (type SecretHandler has no field or method ServeHTTP)
Test: api/api_test.go#L167
NewSecretHandler(NewHandlerConfig(connection, connection.GetDB())).ServeHTTP undefined (type SecretHandler has no field or method ServeHTTP)
Test: api/api_test.go#L262
NewSecretHandler(handlerConfig).ServeHTTP undefined (type SecretHandler has no field or method ServeHTTP)
Test: api/api_test.go#L323
NewSecretHandler(NewHandlerConfig(connection, connection.GetDB())).ServeHTTP undefined (type SecretHandler has no field or method ServeHTTP)
Test: api/api_test.go#L520
NewSecretHandler(handlerConfig).ServeHTTP undefined (type SecretHandler has no field or method ServeHTTP)
Test: api/api_test.go#L571
NewSecretHandler(handlerConfig).ServeHTTP undefined (type SecretHandler has no field or method ServeHTTP)
Test: api/api_test.go#L590
NewSecretHandler(NewHandlerConfig(connection, connection.GetDB())).ServeHTTP undefined (type SecretHandler has no field or method ServeHTTP)
Test: api/api_test.go#L631
handler.ServeHTTP undefined (type SecretHandler has no field or method ServeHTTP)
Test: api/api_test.go#L643
handler.ServeHTTP undefined (type SecretHandler has no field or method ServeHTTP)
Test
Restore cache failed: Dependencies file is not found in /home/runner/work/sekret.link/sekret.link. Supported file pattern: go.sum