Skip to content

Upgrade golangci-lint, more linters

Codecov / codecov/patch succeeded Jan 15, 2025 in 0s

85.18% of diff hit (target 70.00%)

View this Pull Request on Codecov

85.18% of diff hit (target 70.00%)

Annotations

Check warning on line 89 in connctx/connctx.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

connctx/connctx.go#L89

Added line #L89 was not covered by tests

Check warning on line 135 in connctx/connctx.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

connctx/connctx.go#L135

Added line #L135 was not covered by tests

Check warning on line 13 in connctx/pipe.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

connctx/pipe.go#L13

Added line #L13 was not covered by tests

Check warning on line 46 in deadline/deadline.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

deadline/deadline.go#L46

Added line #L46 was not covered by tests

Check warning on line 102 in dpipe/dpipe.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

dpipe/dpipe.go#L102

Added line #L102 was not covered by tests

Check warning on line 89 in netctx/conn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

netctx/conn.go#L89

Added line #L89 was not covered by tests

Check warning on line 137 in netctx/conn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

netctx/conn.go#L137

Added line #L137 was not covered by tests

Check warning on line 82 in netctx/packetconn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

netctx/packetconn.go#L82

Added line #L82 was not covered by tests

Check warning on line 132 in netctx/packetconn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

netctx/packetconn.go#L132

Added line #L132 was not covered by tests

Check warning on line 13 in netctx/pipe.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

netctx/pipe.go#L13

Added line #L13 was not covered by tests

Check warning on line 288 in test/bridge.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

test/bridge.go#L288

Added line #L288 was not covered by tests

Check warning on line 298 in test/bridge.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

test/bridge.go#L298

Added line #L298 was not covered by tests

Check warning on line 311 in test/bridge.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

test/bridge.go#L311

Added line #L311 was not covered by tests

Check warning on line 318 in test/bridge.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

test/bridge.go#L318

Added line #L318 was not covered by tests

Check warning on line 453 in test/bridge.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

test/bridge.go#L453

Added line #L453 was not covered by tests

Check warning on line 152 in udp/batchconn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

udp/batchconn.go#L152

Added line #L152 was not covered by tests

Check warning on line 169 in udp/batchconn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

udp/batchconn.go#L169

Added line #L169 was not covered by tests

Check warning on line 66 in udp/conn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

udp/conn.go#L66

Added line #L66 was not covered by tests

Check warning on line 381 in udp/conn.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

udp/conn.go#L381

Added line #L381 was not covered by tests

Check warning on line 71 in vnet/conn_map.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

vnet/conn_map.go#L71

Added line #L71 was not covered by tests

Check warning on line 62 in vnet/delay_filter.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

vnet/delay_filter.go#L62

Added line #L62 was not covered by tests

Check warning on line 440 in vnet/net.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

vnet/net.go#L440

Added line #L440 was not covered by tests

Check warning on line 244 in vnet/router.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

vnet/router.go#L244

Added line #L244 was not covered by tests

Check warning on line 500 in vnet/router.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

vnet/router.go#L499-L500

Added lines #L499 - L500 were not covered by tests

Check warning on line 518 in vnet/router.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

vnet/router.go#L517-L518

Added lines #L517 - L518 were not covered by tests