pkg/

directory
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2026 License: Apache-2.0

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 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/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.
sql
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.

Jump to

Keyboard shortcuts

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