summaryrefslogtreecommitdiff
path: root/internal/service
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-09 22:20:03 +0300
committerPaul Buetow <paul@buetow.org>2026-05-09 22:20:03 +0300
commit2d58ee0600a5efc8c625ace603d8613b5f6d0ab8 (patch)
treede02e62bea1d04ab3084af8276f3fe79a5983661 /internal/service
parent05a8c2ba95ec9ed81898fa3545f36c96760b48df (diff)
style: gofmt and goimports formatting fixes
Diffstat (limited to 'internal/service')
-rw-r--r--internal/service/import.go4
-rw-r--r--internal/service/tag_test.go10
2 files changed, 8 insertions, 6 deletions
diff --git a/internal/service/import.go b/internal/service/import.go
index dde06b9..90fa4b1 100644
--- a/internal/service/import.go
+++ b/internal/service/import.go
@@ -18,7 +18,9 @@ import (
// fetching an episode enclosure).
func ImportMediaFile(
ctx context.Context,
- store interface{ UpdateMedia(ctx context.Context, media *model.Media) error },
+ store interface {
+ UpdateMedia(ctx context.Context, media *model.Media) error
+ },
media *model.Media,
prober probe.Prober,
thumbGen thumb.Generator,
diff --git a/internal/service/tag_test.go b/internal/service/tag_test.go
index 7a87300..f198c89 100644
--- a/internal/service/tag_test.go
+++ b/internal/service/tag_test.go
@@ -13,11 +13,11 @@ func TestTagService_AssignTag(t *testing.T) {
ctx := context.Background()
tests := []struct {
- name string
- tagExists bool
- createErr error
- assignErr error
- wantErr bool
+ name string
+ tagExists bool
+ createErr error
+ assignErr error
+ wantErr bool
}{
{
name: "existing tag",