This repository has been archived by the owner on Oct 28, 2023. It is now read-only.
Update #5
Annotations
8 errors
lint:
cmd/main.go#L18
could not import github.com/hodlgap/captive-portal/pkg/handler (-: # github.com/hodlgap/captive-portal/pkg/handler
|
lint:
pkg/handler/route.go#L13
cannot use rCli (variable of type *redis.Client) as auth.Provider value in argument to captiveportal.NewAuthHandler: *redis.Client does not implement auth.Provider (missing method AddClient)) (typecheck)
|
lint:
pkg/auth/policy.go#L22
func `(*ClientPolicy).toAuthAttemptLog` is unused (unused)
|
lint:
pkg/handler/captiveportal/auth.go#L1
: # github.com/hodlgap/captive-portal/pkg/handler/captiveportal [github.com/hodlgap/captive-portal/pkg/handler/captiveportal.test]
|
lint:
pkg/handler/captiveportal/auth_test.go#L106
cannot use rCli (variable of type *redis.Client) as auth.Provider value in argument to NewAuthHandler: *redis.Client does not implement auth.Provider (missing method AddClient) (typecheck)
|
lint:
pkg/handler/route.go#L1
: # github.com/hodlgap/captive-portal/pkg/handler
|
lint:
pkg/handler/route.go#L13
cannot use rCli (variable of type *redis.Client) as auth.Provider value in argument to captiveportal.NewAuthHandler: *redis.Client does not implement auth.Provider (missing method AddClient) (typecheck)
|
lint
golangci-lint exit with code 2
|