Skip to content

chore: Refactor database_helpers.go for improved readability and cons…

Codecov / codecov/patch failed Aug 22, 2024 in 1s

68.18% of diff hit (target 79.27%)

View this Pull Request on Codecov

68.18% of diff hit (target 79.27%)

Annotations

Check warning on line 33 in occupi-backend/pkg/cache/cache.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

occupi-backend/pkg/cache/cache.go#L33

Added line #L33 was not covered by tests

Check warning on line 96 in occupi-backend/pkg/cache/cache.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

occupi-backend/pkg/cache/cache.go#L96

Added line #L96 was not covered by tests

Check warning on line 178 in occupi-backend/pkg/cache/cache.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

occupi-backend/pkg/cache/cache.go#L178

Added line #L178 was not covered by tests

Check warning on line 220 in occupi-backend/pkg/cache/cache.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

occupi-backend/pkg/cache/cache.go#L220

Added line #L220 was not covered by tests

Check warning on line 79 in occupi-backend/pkg/database/database_helpers.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

occupi-backend/pkg/database/database_helpers.go#L49-L79

Added lines #L49 - L79 were not covered by tests