Skip to content

refactor: extract readToSlice and readToStruct method

Codecov / codecov/patch failed Oct 28, 2024 in 1s

14.28% of diff hit (target 28.30%)

View this Pull Request on Codecov

14.28% of diff hit (target 28.30%)

Annotations

Check warning on line 190 in opcua/enc/decoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

opcua/enc/decoder.go#L190

Added line #L190 was not covered by tests

Check warning on line 222 in opcua/enc/decoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

opcua/enc/decoder.go#L217-L222

Added lines #L217 - L222 were not covered by tests

Check warning on line 285 in opcua/enc/decoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

opcua/enc/decoder.go#L274-L285

Added lines #L274 - L285 were not covered by tests

Check warning on line 292 in opcua/enc/decoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

opcua/enc/decoder.go#L291-L292

Added lines #L291 - L292 were not covered by tests

Check warning on line 307 in opcua/enc/decoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

opcua/enc/decoder.go#L298-L307

Added lines #L298 - L307 were not covered by tests

Check warning on line 323 in opcua/enc/decoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

opcua/enc/decoder.go#L309-L323

Added lines #L309 - L323 were not covered by tests

Check warning on line 327 in opcua/enc/decoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

opcua/enc/decoder.go#L326-L327

Added lines #L326 - L327 were not covered by tests

Check warning on line 337 in opcua/enc/decoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

opcua/enc/decoder.go#L336-L337

Added lines #L336 - L337 were not covered by tests

Check warning on line 341 in opcua/enc/decoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

opcua/enc/decoder.go#L341

Added line #L341 was not covered by tests

Check warning on line 350 in opcua/enc/decoder.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

opcua/enc/decoder.go#L349-L350

Added lines #L349 - L350 were not covered by tests