30 lines
482 B
Go
Raw Normal View History

2024-03-22 18:05:47 +08:00
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
}