Skip to content

refactor: expose public API #92

refactor: expose public API

refactor: expose public API #92

Triggered via pull request March 1, 2024 03:40
Status Failure
Total duration 1m 37s
Artifacts

build-refactor.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 10 warnings
coverage-threshold
Process completed with exit code 2.
integration: tests/integration/main.go#L139
config.NewConfig undefined (type []byte has no field or method NewConfig)
integration: tests/integration/main.go#L139
config.WithConfigFile undefined (type []byte has no field or method WithConfigFile)
integration
Process completed with exit code 1.
lint: internal/runtimex/runtimex_test.go#L22
parameter 't' seems to be unused, consider removing or renaming it as _
lint: internal/runtimex/runtimex_test.go#L13
parameter 't' seems to be unused, consider removing or renaming it as _
lint: internal/runtimex/runtimex_test.go#L40
parameter 't' seems to be unused, consider removing or renaming it as _
lint: internal/runtimex/runtimex_test.go#L31
parameter 't' seems to be unused, consider removing or renaming it as _
lint: internal/session/manager.go#L109
comment on exported method Manager.NewACKForPacketIDs should be of the form "NewACKForPacketIDs ..."
lint: internal/session/datachannelkey.go#L52
comment on exported method DataChannelKey.AddLocalKey should be of the form "AddLocalKey ..."
lint: internal/bytesx/bytesx.go#L38
comment on exported function GenRandomBytes should be of the form "GenRandomBytes ..."
lint: internal/bytesx/bytesx.go#L115
comment on exported function BytesPadPKCS7 should be of the form "BytesPadPKCS7 ..."
lint: internal/session/keysource_test.go#L34
should replace i += 1 with i++
lint: internal/session/manager.go#L245
exported method Manager.CurrentKeyID should have comment or be unexported