Make migrateable source an io.ReadSeeker
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package types
|
||||
|
||||
import "os"
|
||||
import (
|
||||
"io"
|
||||
)
|
||||
|
||||
var (
|
||||
SfDateTime = "2006-01-02 15:04:05"
|
||||
@@ -11,8 +13,6 @@ type (
|
||||
Name string
|
||||
Path string
|
||||
|
||||
Source *os.File
|
||||
// @todo?
|
||||
Mapping *os.File
|
||||
Source io.ReadSeeker
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user