chore: initial public commit

This commit is contained in:
Gabe Farrell 2025-06-11 19:45:39 -04:00
commit fc9054b78c
250 changed files with 32809 additions and 0 deletions

28
internal/images/mock.go Normal file
View file

@ -0,0 +1,28 @@
package images
import (
"context"
"errors"
)
type MockFinder struct{}
func (m *MockFinder) GetArtistImage(ctx context.Context, opts ArtistImageOpts) (string, error) {
return "", nil
}
func (m *MockFinder) GetAlbumImage(ctx context.Context, opts AlbumImageOpts) (string, error) {
return "", nil
}
func (m *MockFinder) Shutdown() {}
type ErrorFinder struct{}
func (m *ErrorFinder) GetArtistImage(ctx context.Context, opts ArtistImageOpts) (string, error) {
return "", errors.New("mock error")
}
func (m *ErrorFinder) GetAlbumImage(ctx context.Context, opts AlbumImageOpts) (string, error) {
return "", errors.New("mock error")
}
func (m *ErrorFinder) Shutdown() {}