wip: basic feat
This commit is contained in:
29
internal/xfile/xfile.go
Normal file
29
internal/xfile/xfile.go
Normal file
@ -0,0 +1,29 @@
|
||||
package xfile
|
||||
|
||||
import (
|
||||
"esgo2dump/internal/interfaces"
|
||||
"os"
|
||||
)
|
||||
|
||||
type client struct {
|
||||
f *os.File
|
||||
}
|
||||
|
||||
func (c client) Write(docs []map[string]any) (int, error) {
|
||||
//TODO implement me
|
||||
panic("implement me")
|
||||
}
|
||||
|
||||
func (c client) Read(i int) ([]map[string]any, error) {
|
||||
//TODO implement me
|
||||
panic("implement me")
|
||||
}
|
||||
|
||||
func (c client) Close() error {
|
||||
//TODO implement me
|
||||
panic("implement me")
|
||||
}
|
||||
|
||||
func NewClient(file *os.File) (interfaces.DumpIO, error) {
|
||||
return &client{f: file}, nil
|
||||
}
|
Reference in New Issue
Block a user