Versions in this module Expand all Collapse all v1 v1.4.0 Apr 3, 2026 Changes in this version + func GetDefaultCachePath(baseDir string) string + type ColumnInfo struct + Default string + IsPrimary bool + Name string + Nullable bool + Type string + type Discoverer interface + DiscoverTables func() ([]string, error) + GetTableColumns func(table string) ([]ColumnInfo, error) + LoadCache func(cacheFile string) error + SaveCache func(cacheFile string) error + func CreateDiscoverer(mode string, staticTables []string, dbType string, dbConfig map[string]string) (Discoverer, error) + type NoOpDiscoverer struct + func NewNoOpDiscoverer() *NoOpDiscoverer + func (n *NoOpDiscoverer) DiscoverTables() ([]string, error) + func (n *NoOpDiscoverer) GetTableColumns(table string) ([]ColumnInfo, error) + func (n *NoOpDiscoverer) LoadCache(cacheFile string) error + func (n *NoOpDiscoverer) SaveCache(cacheFile string) error + type SchemaCache struct + Tables map[string][]ColumnInfo + Version string + type StaticDiscoverer struct + ColumnInfo map[string][]ColumnInfo + Tables []string + func NewStaticDiscoverer(tables []string) *StaticDiscoverer + func (s *StaticDiscoverer) DiscoverTables() ([]string, error) + func (s *StaticDiscoverer) GetTableColumns(table string) ([]ColumnInfo, error) + func (s *StaticDiscoverer) LoadCache(cacheFile string) error + func (s *StaticDiscoverer) SaveCache(cacheFile string) error + func (s *StaticDiscoverer) SetTableColumns(table string, columns []ColumnInfo)