Directories ¶
Path | Synopsis |
---|---|
Package cli implements sq's CLI.
|
Package cli implements sq's CLI. |
buildinfo
Package buildinfo hosts build info variables populated via ldflags.
|
Package buildinfo hosts build info variables populated via ldflags. |
config
Package config holds CLI configuration.
|
Package config holds CLI configuration. |
output
Package output provides interfaces and implementations for outputting data and messages.
|
Package output provides interfaces and implementations for outputting data and messages. |
output/csvw
Package csvw implements writers for CSV.
|
Package csvw implements writers for CSV. |
output/htmlw
Package htmlw implements a RecordWriter for HTML.
|
Package htmlw implements a RecordWriter for HTML. |
output/jsonw
Package jsonw implements output writers for JSON.
|
Package jsonw implements output writers for JSON. |
output/markdownw
Package markdownw implements writers for Markdown.
|
Package markdownw implements writers for Markdown. |
output/tablew
Package tablew implements text table output writers.
|
Package tablew implements text table output writers. |
output/tablew/internal
Package tablewriter creates & generates text based table
|
Package tablewriter creates & generates text based table |
output/xlsxw
Package xlsxw implements output writers for Microsoft Excel.
|
Package xlsxw implements output writers for Microsoft Excel. |
output/xmlw
Package xmlw implements output writers for XML.
|
Package xmlw implements output writers for XML. |
Package drivers is the parent package of the concrete sq driver implementations.
|
Package drivers is the parent package of the concrete sq driver implementations. |
csv
Package csv implements the sq driver for CSV/TSV et al.
|
Package csv implements the sq driver for CSV/TSV et al. |
html
Package html is the future home of the HTML table import driver.
|
Package html is the future home of the HTML table import driver. |
json
Package json implements the sq driver for JSON.
|
Package json implements the sq driver for JSON. |
postgres
Package postgres implements the sq driver for postgres.
|
Package postgres implements the sq driver for postgres. |
sqlite3
Package sqlite3 implements the sq driver for SQLite.
|
Package sqlite3 implements the sq driver for SQLite. |
sqlserver
Package sqlserver implements the sq driver for SQL Server.
|
Package sqlserver implements the sq driver for SQL Server. |
userdriver
Package userdriver implements the "user-driver" functionality that allows users to define source driver types declaratively.
|
Package userdriver implements the "user-driver" functionality that allows users to define source driver types declaratively. |
userdriver/xmlud
Package xmlud provides user driver XML import functionality.
|
Package xmlud provides user driver XML import functionality. |
xlsx
Package xlsx implements the sq driver for Microsoft Excel.
|
Package xlsx implements the sq driver for Microsoft Excel. |
Package libsq implements the core sq functionality.
|
Package libsq implements the core sq functionality. |
ast
Package ast holds types and functionality for the SLQ AST.
|
Package ast holds types and functionality for the SLQ AST. |
ast/render
Package render provides the mechanism for rendering ast into SQL.
|
Package render provides the mechanism for rendering ast into SQL. |
core
Package core contains only libsq core sub-packages.
|
Package core contains only libsq core sub-packages. |
core/cleanup
Package cleanup provides functionality for executing cleanup functions.
|
Package cleanup provides functionality for executing cleanup functions. |
core/errz
Package errz provides simple error handling primitives.
|
Package errz provides simple error handling primitives. |
core/kind
Package kind encapsulates the notion of data "kind": that is, it is an abstraction over data types across implementations.
|
Package kind encapsulates the notion of data "kind": that is, it is an abstraction over data types across implementations. |
core/lg
Package lg contains utility functions for working with slog.
|
Package lg contains utility functions for working with slog. |
core/lg/lga
Package lga ("log attribute") holds constants for log attribute names.
|
Package lga ("log attribute") holds constants for log attribute names. |
core/lg/lgm
Package lgm ("log message") contains constants for log messages.
|
Package lgm ("log message") contains constants for log messages. |
core/options
Package options is the home of the Options type, used to control optional behavior of core types such as Source.
|
Package options is the home of the Options type, used to control optional behavior of core types such as Source. |
core/retry
Package retry implements retry functionality.
|
Package retry implements retry functionality. |
core/sqlmodel
Package core.sqlmodel provides functionality for modeling SQL constructs.
|
Package core.sqlmodel provides functionality for modeling SQL constructs. |
core/sqlz
Package sqlz contains core types such as Kind and Record.
|
Package sqlz contains core types such as Kind and Record. |
core/stringz
Package stringz contains string functions similar in spirit to the stdlib strings package.
|
Package stringz contains string functions similar in spirit to the stdlib strings package. |
driver/dialect
Package dialect contains functionality for SQL dialects.
|
Package dialect contains functionality for SQL dialects. |
source
Package source provides functionality for dealing with data sources.
|
Package source provides functionality for dealing with data sources. |
source/fetcher
Package fetcher provides a mechanism for fetching files from URLs.
|
Package fetcher provides a mechanism for fetching files from URLs. |
Package testh (test helper) contains functionality for testing.
|
Package testh (test helper) contains functionality for testing. |
fixt
Package fixt contains common test fixture values.
|
Package fixt contains common test fixture values. |
proj
Package proj contains test utilities for dealing with project paths and the like.
|
Package proj contains test utilities for dealing with project paths and the like. |
sakila
Package sakila holds test constants and such for the sakila test sources.
|
Package sakila holds test constants and such for the sakila test sources. |
testsrc
Package testsrc holds testing constants (in addition to pkg sakila).
|
Package testsrc holds testing constants (in addition to pkg sakila). |
tutil
Package tutil contains basic generic test utilities.
|
Package tutil contains basic generic test utilities. |
Click to show internal directories.
Click to hide internal directories.