tests: adapt integration tests to run against the refactored code #79
build-refactor.yml
on: pull_request
short-tests
18s
lint
7s
gosec
45s
coverage-threshold
9s
integration
25s
Annotations
10 warnings
lint:
internal/session/manager.go#L108
comment on exported method Manager.NewACKForPacketIDs should be of the form "NewACKForPacketIDs ..."
|
lint:
internal/session/manager.go#L142
if block ends with a return statement, so drop this else and outdent its block
|
lint:
internal/session/manager.go#L252
exported method Manager.CurrentKeyID should have comment or be unexported
|
lint:
internal/session/manager.go#L173
exported var ErrExpiredKey should have comment or be unexported
|
lint:
internal/bytesx/bytesx.go#L115
comment on exported function BytesPadPKCS7 should be of the form "BytesPadPKCS7 ..."
|
lint:
internal/bytesx/bytesx.go#L38
comment on exported function GenRandomBytes should be of the form "GenRandomBytes ..."
|
lint:
internal/model/session.go#L8
don't use ALL_CAPS in Go names; use CamelCase
|
lint:
internal/model/session.go#L10
comment on exported const S_UNDEF should be of the form "S_UNDEF ..."
|
lint:
internal/model/session.go#L14
don't use ALL_CAPS in Go names; use CamelCase
|
lint:
internal/model/session.go#L11
don't use ALL_CAPS in Go names; use CamelCase
|