So far so good
This commit is contained in:
@@ -5,10 +5,16 @@ import (
|
||||
)
|
||||
|
||||
// Reader defines the interface for reading database specifications
|
||||
// from various input formats
|
||||
// from various input formats at different granularity levels
|
||||
type Reader interface {
|
||||
// Read reads and parses the input, returning a Database model
|
||||
Read() (*models.Database, error)
|
||||
// ReadDatabase reads and parses the input, returning a Database model
|
||||
ReadDatabase() (*models.Database, error)
|
||||
|
||||
// ReadSchema reads and parses the input, returning a Schema model
|
||||
ReadSchema() (*models.Schema, error)
|
||||
|
||||
// ReadTable reads and parses the input, returning a Table model
|
||||
ReadTable() (*models.Table, error)
|
||||
}
|
||||
|
||||
// ReaderOptions contains common options for readers
|
||||
|
||||
Reference in New Issue
Block a user