Refactor application structure and initialize core components

I decided to rewrite the program taking into account the experience gained.
This commit is contained in:
2025-06-06 14:50:16 +05:00
parent 43d794373a
commit b24155caf6
24 changed files with 1295 additions and 63 deletions

View File

@@ -0,0 +1,19 @@
package ffmpeg
type FFprobeContract interface {
SetPath(path string)
}
type ffprobe struct {
path string
}
func newFFprobe(path string) FFprobeContract {
return &ffprobe{
path: path,
}
}
func (f *ffprobe) SetPath(path string) {
f.path = path
}