wisski-cloud-distillery/internal/dis/component/table.go
2023-01-09 10:24:24 +01:00

18 lines
318 B
Go

package component
import (
"reflect"
)
// Table is a component that manages a provided sql table
type Table interface {
Component
// TableInfo returns information about a specific table
TableInfo() TableInfo
}
type TableInfo struct {
Model reflect.Type // model is the model this type manages
Name string
}