chore: modernize code #1285
Annotations
10 errors and 2 warnings
lint:
internal/utils/testutils/socket_unix.go#L30
cannot use 0 (untyped int constant) as string value in return statement (typecheck)
|
lint:
cmd/daemon/full_test.go#L18
could not import github.com/jkroepke/openvpn-auth-oauth2/internal/utils/testutils (-: # github.com/jkroepke/openvpn-auth-oauth2/internal/utils/testutils
|
lint:
internal/utils/testutils/socket_unix.go#L30
cannot use 0 (untyped int constant) as string value in return statement) (typecheck)
|
lint:
internal/internal_test.go#L15
could not import github.com/jkroepke/openvpn-auth-oauth2/internal/utils/testutils (-: # github.com/jkroepke/openvpn-auth-oauth2/internal/utils/testutils
|
lint:
internal/utils/testutils/socket_unix.go#L30
cannot use 0 (untyped int constant) as string value in return statement) (typecheck)
|
lint:
internal/config/flags_test.go#L12
could not import github.com/jkroepke/openvpn-auth-oauth2/internal/utils/testutils (-: # github.com/jkroepke/openvpn-auth-oauth2/internal/utils/testutils
|
lint:
internal/utils/testutils/socket_unix.go#L30
cannot use 0 (untyped int constant) as string value in return statement) (typecheck)
|
lint
issues found
|
Build & Test:
internal/utils/testutils/socket_unix.go#L30
cannot use 0 (untyped int constant) as string value in return statement
|
Build & Test
Process completed with exit code 1.
|
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build & Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|