refactor: generic common cmd processing

This commit is contained in:
Philipp Wolfer 2023-12-04 08:03:32 +01:00
parent a87686af57
commit 7c85ba05ab
No known key found for this signature in database
GPG key ID: 8FDF744D4919943B
5 changed files with 182 additions and 149 deletions

View file

@ -17,7 +17,9 @@ Scotty. If not, see <https://www.gnu.org/licenses/>.
package backends
import "go.uploadedlobster.com/scotty/internal/models"
import (
"go.uploadedlobster.com/scotty/internal/models"
)
type ImportProcessor[T models.ListensResult | models.LovesResult] interface {
ImportBackend() models.ImportBackend