Skip to content

fix(lint): redundant return statement

Codecov / codecov/patch succeeded Feb 2, 2025 in 1s

0.00% of diff hit (target 0.00%)

View this Pull Request on Codecov

0.00% of diff hit (target 0.00%)

Annotations

Check warning on line 145 in internal/app/app.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/app/app.go#L140-L145

Added lines #L140 - L145 were not covered by tests

Check warning on line 182 in internal/auth/auth.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/auth.go#L182

Added line #L182 was not covered by tests

Check warning on line 193 in internal/auth/auth.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/auth.go#L193

Added line #L193 was not covered by tests

Check warning on line 35 in internal/auth/permissions/permission.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/permission.go#L29-L35

Added lines #L29 - L35 were not covered by tests

Check warning on line 40 in internal/auth/permissions/permission.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/permission.go#L37-L40

Added lines #L37 - L40 were not covered by tests

Check warning on line 48 in internal/auth/permissions/permission.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/permission.go#L44-L48

Added lines #L44 - L48 were not covered by tests

Check warning on line 53 in internal/auth/permissions/permission.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/permission.go#L52-L53

Added lines #L52 - L53 were not covered by tests

Check warning on line 58 in internal/auth/permissions/permission.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/permission.go#L57-L58

Added lines #L57 - L58 were not covered by tests

Check warning on line 66 in internal/auth/permissions/permission.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/permission.go#L63-L66

Added lines #L63 - L66 were not covered by tests

Check warning on line 78 in internal/auth/permissions/permission.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/permission.go#L69-L78

Added lines #L69 - L78 were not covered by tests

Check warning on line 86 in internal/auth/permissions/permission.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/permission.go#L82-L86

Added lines #L82 - L86 were not covered by tests

Check warning on line 88 in internal/auth/permissions/permission.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/permission.go#L88

Added line #L88 was not covered by tests

Check warning on line 97 in internal/auth/permissions/permission.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/permission.go#L92-L97

Added lines #L92 - L97 were not covered by tests

Check warning on line 21 in internal/auth/permissions/postgres_repository.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/postgres_repository.go#L16-L21

Added lines #L16 - L21 were not covered by tests

Check warning on line 41 in internal/auth/permissions/postgres_repository.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/postgres_repository.go#L25-L41

Added lines #L25 - L41 were not covered by tests

Check warning on line 63 in internal/auth/permissions/postgres_repository.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/postgres_repository.go#L45-L63

Added lines #L45 - L63 were not covered by tests

Check warning on line 65 in internal/auth/permissions/postgres_repository.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/postgres_repository.go#L65

Added line #L65 was not covered by tests

Check warning on line 85 in internal/auth/permissions/postgres_repository.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/postgres_repository.go#L69-L85

Added lines #L69 - L85 were not covered by tests

Check warning on line 87 in internal/auth/permissions/postgres_repository.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/postgres_repository.go#L87

Added line #L87 was not covered by tests

Check warning on line 103 in internal/auth/permissions/postgres_repository.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/postgres_repository.go#L91-L103

Added lines #L91 - L103 were not covered by tests

Check warning on line 105 in internal/auth/permissions/postgres_repository.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/postgres_repository.go#L105

Added line #L105 was not covered by tests

Check warning on line 121 in internal/auth/permissions/postgres_repository.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/postgres_repository.go#L109-L121

Added lines #L109 - L121 were not covered by tests

Check warning on line 142 in internal/auth/permissions/postgres_repository.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/postgres_repository.go#L125-L142

Added lines #L125 - L142 were not covered by tests

Check warning on line 163 in internal/auth/permissions/postgres_repository.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/postgres_repository.go#L146-L163

Added lines #L146 - L163 were not covered by tests

Check warning on line 185 in internal/auth/permissions/postgres_repository.go

See this annotation in the file changed.

@codecov codecov / codecov/patch

internal/auth/permissions/postgres_repository.go#L167-L185

Added lines #L167 - L185 were not covered by tests