mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-30 05:37:05 +02:00
refactor: generic common cmd processing
This commit is contained in:
parent
a87686af57
commit
7c85ba05ab
5 changed files with 182 additions and 149 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue