readers

package
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 30, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Reader

type Reader interface {
	// 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)
}

Reader defines the interface for reading database specifications from various input formats at different granularity levels

type ReaderOptions

type ReaderOptions struct {
	// FilePath is the path to the input file (if applicable)
	FilePath string

	// ConnectionString is the database connection string (for DB readers)
	ConnectionString string

	// Additional options can be added here as needed
	Metadata map[string]interface{}
}

ReaderOptions contains common options for readers

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL