17 lines
352 B
Go
17 lines
352 B
Go
package repo
|
|
|
|
import "git.vakhrushev.me/av/transcriber/internal/entity"
|
|
|
|
type FileRepository interface {
|
|
Create(file *entity.File) error
|
|
GetByID(id string) (*entity.File, error)
|
|
}
|
|
|
|
type TranscriptJobRepository interface {
|
|
Create(job *entity.TranscribeJob) error
|
|
GetByID(id string) (*entity.TranscribeJob, error)
|
|
}
|
|
|
|
type ObjectStorage interface {
|
|
}
|