Skip to content

refactor: expose public API #95

refactor: expose public API

refactor: expose public API #95

Triggered via pull request March 6, 2024 00:35
Status Success
Total duration 55s
Artifacts

build-refactor.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 warnings
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/packet.go#L24
don't use ALL_CAPS in Go names; use CamelCase
lint: internal/networkio/common_test.go#L27
parameter 'ctx' seems to be unused, consider removing or renaming it as _
lint: internal/model/session.go#L8
don't use ALL_CAPS in Go names; use CamelCase
lint: internal/networkio/networkio_test.go#L83
parameter 'ctx' 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/datachannel/read.go#L40
don't use underscores in Go names; var packet_id should be packetID
lint: internal/model/packet_test.go#L380
parameter 't' seems to be unused, consider removing or renaming it as _
lint: internal/model/mocks.go#L5
exported type TestLogger should have comment or be unexported