Refactoring: clean architecture project structure

This commit is contained in:
2025-08-09 15:18:42 +03:00
parent 40e207bdb2
commit 8e133630d4
12 changed files with 265 additions and 188 deletions

View File

@@ -0,0 +1,16 @@
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 {
}