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. |
config/yamlstore
Package yamlstore contains an implementation of config.Store that uses YAML files for persistence.
|
Package yamlstore contains an implementation of config.Store that uses YAML files for persistence. |
config/yamlstore/upgrades/v0.34.0
Package v0_34_0 upgrades YAML config to v0.34.0.
|
Package v0_34_0 upgrades YAML config to v0.34.0. |
flag
Package flag holds CLI flags.
|
Package flag holds CLI flags. |
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/outputx
Package outputx contains extensions to pkg output, and helpers for implementing output writers.
|
Package outputx contains extensions to pkg output, and helpers for implementing output writers. |
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. |
output/yamlw
Package yamlw implements output writers for YAML.
|
Package yamlw implements output writers for YAML. |
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/ioz
Package ioz contains supplemental io functionality.
|
Package ioz contains supplemental io functionality. |
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/lg/slogbuf
Package slogbuf implements a Buffer that stores log records that can later be replayed on a slog.Handler.
|
Package slogbuf implements a Buffer that stores log records that can later be replayed on a slog.Handler. |
core/lg/userlogdir
Package userlogdir has a single function, UserLogDir, that returns an OS-specific path for storing user logs.
|
Package userlogdir has a single function, UserLogDir, that returns an OS-specific path for storing user logs. |
core/options
Package options implements config options.
|
Package options implements config options. |
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. |
core/timez
Package timez contains time functionality.
|
Package timez contains time functionality. |
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.