Skip to content

refactor: using slices.Contains to simplify the code

Codecov / codecov/patch succeeded Feb 7, 2025 in 0s

66.66% of diff hit (target 51.83%)

View this Pull Request on Codecov

66.66% of diff hit (target 51.83%)

Annotations

Check warning on line 443 in cmd/algons/dnsCmd.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

cmd/algons/dnsCmd.go#L443

Added line #L443 was not covered by tests

Check warning on line 1008 in shared/pingpong/accounts.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

shared/pingpong/accounts.go#L1007-L1008

Added lines #L1007 - L1008 were not covered by tests

Check warning on line 196 in shared/pingpong/config.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

shared/pingpong/config.go#L196

Added line #L196 was not covered by tests