Skip to content

Refine the codec function

Codecov / codecov/patch failed Nov 29, 2023 in 1s

58.91% of diff hit (target 74.16%)

View this Pull Request on Codecov

58.91% of diff hit (target 74.16%)

Annotations

Check warning on line 56 in client/http/codec.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/http/codec.go#L56

Added line #L56 was not covered by tests

Check warning on line 73 in client/http/codec.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/http/codec.go#L73

Added line #L73 was not covered by tests

Check warning on line 83 in client/http/codec.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/http/codec.go#L83

Added line #L83 was not covered by tests

Check warning on line 94 in client/http/codec.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/http/codec.go#L94

Added line #L94 was not covered by tests

Check warning on line 106 in client/http/codec.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/http/codec.go#L106

Added line #L106 was not covered by tests

Check warning on line 118 in client/http/codec.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/http/codec.go#L118

Added line #L118 was not covered by tests

Check warning on line 344 in client/http/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/http/types.go#L344

Added line #L344 was not covered by tests

Check warning on line 354 in client/http/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/http/types.go#L354

Added line #L354 was not covered by tests

Check warning on line 372 in client/http/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/http/types.go#L372

Added line #L372 was not covered by tests

Check warning on line 376 in client/http/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/http/types.go#L376

Added line #L376 was not covered by tests

Check warning on line 448 in client/http/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/http/types.go#L448

Added line #L448 was not covered by tests

Check warning on line 451 in client/http/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/http/types.go#L451

Added line #L451 was not covered by tests

Check warning on line 461 in client/http/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/http/types.go#L458-L461

Added lines #L458 - L461 were not covered by tests

Check warning on line 479 in client/http/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/http/types.go#L464-L479

Added lines #L464 - L479 were not covered by tests

Check warning on line 483 in client/http/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/http/types.go#L481-L483

Added lines #L481 - L483 were not covered by tests

Check warning on line 487 in client/http/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/http/types.go#L485-L487

Added lines #L485 - L487 were not covered by tests

Check warning on line 490 in client/http/types.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

client/http/types.go#L489-L490

Added lines #L489 - L490 were not covered by tests