Add local file abstraction

This commit is contained in:
9seconds
2021-11-29 07:26:27 +03:00
parent 3540408adf
commit c14a2329c5
6 changed files with 147 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
package files
import (
"context"
"io"
)
type File interface {
Open(context.Context) (io.ReadCloser, error)
}