Skip to content

tests: adapt integration tests to run against the refactored code #79

tests: adapt integration tests to run against the refactored code

tests: adapt integration tests to run against the refactored code #79

Triggered via pull request February 13, 2024 18:33
Status Success
Total duration 53s
Artifacts

build-refactor.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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