mirror of https://github.com/stashapp/stash.git
13 lines
273 B
Go
13 lines
273 B
Go
|
package movie
|
||
|
|
||
|
import (
|
||
|
"context"
|
||
|
|
||
|
"github.com/stashapp/stash/pkg/models"
|
||
|
)
|
||
|
|
||
|
type NameFinderCreator interface {
|
||
|
FindByName(ctx context.Context, name string, nocase bool) (*models.Movie, error)
|
||
|
Create(ctx context.Context, newMovie models.Movie) (*models.Movie, error)
|
||
|
}
|