internal/

directory
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2026 License: MIT

Directories

Path Synopsis
cli
Package cli implements the cobra command tree for agent-sql.
Package cli implements the cobra command tree for agent-sql.
shared
Package shared provides helpers shared across CLI sub-packages.
Package shared provides helpers shared across CLI sub-packages.
Package config handles reading and writing the agent-sql configuration file.
Package config handles reading and writing the agent-sql configuration file.
Package credential handles reading and writing stored credentials.
Package credential handles reading and writing stored credentials.
Package driver defines the shared interface that all database drivers implement.
Package driver defines the shared interface that all database drivers implement.
cockroachdb
Package cockroachdb implements the CockroachDB driver as a thin wrapper over the PostgreSQL driver.
Package cockroachdb implements the CockroachDB driver as a thin wrapper over the PostgreSQL driver.
duckdb
Package duckdb implements the DuckDB driver as a subprocess.
Package duckdb implements the DuckDB driver as a subprocess.
mariadb
Package mariadb provides a thin wrapper over the MySQL driver with variant set to "mariadb".
Package mariadb provides a thin wrapper over the MySQL driver with variant set to "mariadb".
mssql
Package mssql implements the Microsoft SQL Server driver using database/sql.
Package mssql implements the Microsoft SQL Server driver using database/sql.
mysql
Package mysql implements the MySQL/MariaDB driver using go-sql-driver/mysql.
Package mysql implements the MySQL/MariaDB driver using go-sql-driver/mysql.
pg
Package pg implements the PostgreSQL driver using pgx/v5 directly.
Package pg implements the PostgreSQL driver using pgx/v5 directly.
snowflake
Package snowflake implements the Snowflake driver using the SQL REST API v2.
Package snowflake implements the Snowflake driver using the SQL REST API v2.
sqlite
Package sqlite implements the SQLite driver using modernc.org/sqlite (pure Go).
Package sqlite implements the SQLite driver using modernc.org/sqlite (pure Go).
Package errors provides error classification for database errors.
Package errors provides error classification for database errors.
Package output handles formatting and writing query results and errors.
Package output handles formatting and writing query results and errors.
Package resolve maps connection aliases, URLs, and file paths to concrete driver connections.
Package resolve maps connection aliases, URLs, and file paths to concrete driver connections.
testutil
mockservers
Package mockservers provides mock database servers for testing.
Package mockservers provides mock database servers for testing.
Package truncation provides string truncation with metadata tracking.
Package truncation provides string truncation with metadata tracking.

Jump to

Keyboard shortcuts

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