domain_service.go 387 字节
package domain

type LoadDataTableService interface {
	Load(fileId int) (interface{}, error)
	GetFileId() int
}

type FlushDataTableService interface {
	Flush(fileId int, table *Table) (interface{}, error)
}

type DeleteFileService interface {
	Delete(files ...*File) error
}

type GenerateMainTableService interface {
	GenerateTable(fileId int, tableName string) (interface{}, error)
}