Directories
¶
| Path | Synopsis |
|---|---|
|
Package advisor provides SQL query optimization analysis by walking parsed ASTs and applying configurable rules that detect common performance anti-patterns.
|
Package advisor provides SQL query optimization analysis by walking parsed ASTs and applying configurable rules that detect common performance anti-patterns. |
|
Package main is compiled as a C-shared library (libgosqlx) that exposes the GoSQLX SQL parsing engine to non-Go languages via a plain C FFI.
|
Package main is compiled as a C-shared library (libgosqlx) that exposes the GoSQLX SQL parsing engine to non-Go languages via a plain C FFI. |
|
Package compatibility provides comprehensive backward compatibility testing for GoSQLX to ensure version-to-version stability and prevent regressions across v1.x releases.
|
Package compatibility provides comprehensive backward compatibility testing for GoSQLX to ensure version-to-version stability and prevent regressions across v1.x releases. |
|
Package config provides unified configuration management for GoSQLX across CLI, LSP server, and IDE integrations.
|
Package config provides unified configuration management for GoSQLX across CLI, LSP server, and IDE integrations. |
|
Package errors provides a structured error system for GoSQLX v1.6.0 with rich context, intelligent suggestions, and comprehensive error codes.
|
Package errors provides a structured error system for GoSQLX v1.6.0 with rich context, intelligent suggestions, and comprehensive error codes. |
|
Package fingerprint provides SQL query normalization and fingerprinting.
|
Package fingerprint provides SQL query normalization and fingerprinting. |
|
Package formatter provides a public API for formatting and pretty-printing SQL strings.
|
Package formatter provides a public API for formatting and pretty-printing SQL strings. |
|
Package gosqlx provides high-level convenience functions for SQL parsing, validation, formatting, and metadata extraction, with automatic object pool management.
|
Package gosqlx provides high-level convenience functions for SQL parsing, validation, formatting, and metadata extraction, with automatic object pool management. |
|
testing
Package testing provides comprehensive SQL parsing test helpers for use in Go test suites.
|
Package testing provides comprehensive SQL parsing test helpers for use in Go test suites. |
|
Package linter provides a comprehensive SQL linting engine for GoSQLX with configurable rules, auto-fix capabilities, and detailed violation reporting.
|
Package linter provides a comprehensive SQL linting engine for GoSQLX with configurable rules, auto-fix capabilities, and detailed violation reporting. |
|
rules/keywords
Package keywords provides linting rules for SQL keyword formatting and consistency.
|
Package keywords provides linting rules for SQL keyword formatting and consistency. |
|
rules/naming
Package naming provides linter rules for SQL naming conventions and style.
|
Package naming provides linter rules for SQL naming conventions and style. |
|
rules/performance
Package performance provides linter rules for detecting SQL anti-patterns that cause poor query performance, full table scans, or N+1 problems.
|
Package performance provides linter rules for detecting SQL anti-patterns that cause poor query performance, full table scans, or N+1 problems. |
|
rules/safety
Package safety provides linter rules for detecting dangerous SQL operations that can cause irreversible data loss or security vulnerabilities.
|
Package safety provides linter rules for detecting dangerous SQL operations that can cause irreversible data loss or security vulnerabilities. |
|
rules/style
Package style provides linting rules for SQL style and formatting conventions.
|
Package style provides linting rules for SQL style and formatting conventions. |
|
rules/whitespace
Package whitespace provides linting rules for whitespace and formatting issues.
|
Package whitespace provides linting rules for whitespace and formatting issues. |
|
Package lsp implements a production-ready Language Server Protocol (LSP) server for GoSQLX.
|
Package lsp implements a production-ready Language Server Protocol (LSP) server for GoSQLX. |
|
Package mcp provides a Model Context Protocol (MCP) server for GoSQLX.
|
Package mcp provides a Model Context Protocol (MCP) server for GoSQLX. |
|
Package metrics provides production-grade performance monitoring and observability for GoSQLX operations.
|
Package metrics provides production-grade performance monitoring and observability for GoSQLX operations. |
|
Package models provides the core data structures for SQL tokenization and parsing in GoSQLX.
|
Package models provides the core data structures for SQL tokenization and parsing in GoSQLX. |
|
Package schema provides schema-aware SQL validation for GoSQLX.
|
Package schema provides schema-aware SQL validation for GoSQLX. |
|
db
Package db provides types and interfaces for live database schema introspection.
|
Package db provides types and interfaces for live database schema introspection. |
|
mysql
Package mysql provides a live schema Loader for MySQL databases.
|
Package mysql provides a live schema Loader for MySQL databases. |
|
postgres
Package postgres provides a live schema Loader for PostgreSQL databases.
|
Package postgres provides a live schema Loader for PostgreSQL databases. |
|
sqlite
Package sqlite provides a live schema Loader for SQLite databases.
|
Package sqlite provides a live schema Loader for SQLite databases. |
|
Package sql provides the core SQL parsing infrastructure for GoSQLX, including tokenization, parsing, AST generation, and SQL dialect support.
|
Package sql provides the core SQL parsing infrastructure for GoSQLX, including tokenization, parsing, AST generation, and SQL dialect support. |
|
ast
Package ast provides Abstract Syntax Tree (AST) node definitions, visitor-based traversal, and SQL() serialization for SQL statements parsed by GoSQLX.
|
Package ast provides Abstract Syntax Tree (AST) node definitions, visitor-based traversal, and SQL() serialization for SQL statements parsed by GoSQLX. |
|
keywords
Package keywords provides SQL keyword definitions and categorization for multiple SQL dialects.
|
Package keywords provides SQL keyword definitions and categorization for multiple SQL dialects. |
|
monitor
Package monitor provides lightweight performance monitoring for GoSQLX operations.
|
Package monitor provides lightweight performance monitoring for GoSQLX operations. |
|
parser
Package parser provides a high-performance, production-ready recursive descent SQL parser that converts tokenized SQL into a comprehensive Abstract Syntax Tree (AST).
|
Package parser provides a high-performance, production-ready recursive descent SQL parser that converts tokenized SQL into a comprehensive Abstract Syntax Tree (AST). |
|
security
Package security provides SQL injection detection and security scanning for GoSQLX.
|
Package security provides SQL injection detection and security scanning for GoSQLX. |
|
token
Package token defines the Token struct and object pool for SQL lexical analysis.
|
Package token defines the Token struct and object pool for SQL lexical analysis. |
|
tokenizer
Package tokenizer provides high-performance SQL tokenization with zero-copy operations and comprehensive Unicode support.
|
Package tokenizer provides high-performance SQL tokenization with zero-copy operations and comprehensive Unicode support. |
|
Package transform provides composable SQL query rewriting via AST manipulation.
|
Package transform provides composable SQL query rewriting via AST manipulation. |
|
Package transpiler converts SQL from one dialect to another by parsing the input SQL, applying a chain of rewrite rules that mutate dialect-specific AST constructs in place, and then reformatting the result.
|
Package transpiler converts SQL from one dialect to another by parsing the input SQL, applying a chain of rewrite rules that mutate dialect-specific AST constructs in place, and then reformatting the result. |
|
rules
Package rules contains individual dialect rewrite rules used by the transpiler.
|
Package rules contains individual dialect rewrite rules used by the transpiler. |
Click to show internal directories.
Click to hide internal directories.