mirror of
https://github.com/ScuroNeko/mtg.git
synced 2026-08-31 17:14:02 +03:00
Add local file abstraction
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
package files
|
||||
|
||||
import (
|
||||
"context"
|
||||
"io"
|
||||
)
|
||||
|
||||
type File interface {
|
||||
Open(context.Context) (io.ReadCloser, error)
|
||||
}
|
||||
Reference in New Issue
Block a user