Documentation ¶
Overview ¶
Package core contains only libsq core sub-packages. No package within pkg core may have dependencies on another libsq package unless that pkg is also in core.
Directories ¶
Path | Synopsis |
---|---|
Package cleanup provides functionality for executing cleanup functions.
|
Package cleanup provides functionality for executing cleanup functions. |
Package errz is sq's error package.
|
Package errz is sq's error package. |
Package ioz contains supplemental io functionality.
|
Package ioz contains supplemental io functionality. |
checksum
Package checksum provides functions for working with checksums.
|
Package checksum provides functions for working with checksums. |
contextio
Package contextio provides io decorators that are context-aware.
|
Package contextio provides io decorators that are context-aware. |
httpz
Package httpz provides functionality supplemental to stdlib http.
|
Package httpz provides functionality supplemental to stdlib http. |
lockfile
Package lockfile implements a pid lock file mechanism.
|
Package lockfile implements a pid lock file mechanism. |
Package jointype enumerates the various SQL JOIN types.
|
Package jointype enumerates the various SQL JOIN types. |
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. |
Package lg contains utility functions for working with slog.
|
Package lg contains utility functions for working with slog. |
devlog
Package devlog contains a custom slog.Handler for developer-friendly log output.
|
Package devlog contains a custom slog.Handler for developer-friendly log output. |
lga
Package lga ("log attribute") holds constants for log attribute names.
|
Package lga ("log attribute") holds constants for log attribute names. |
lgm
Package lgm ("log message") contains constants for log messages.
|
Package lgm ("log message") contains constants for log messages. |
lgt
Package lgt provides a mechanism for getting a *slog.Logger that outputs to testing.T. See lgt.New.
|
Package lgt provides a mechanism for getting a *slog.Logger that outputs to testing.T. See lgt.New. |
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. |
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. |
Package loz contains functionality supplemental to samber/lo.
|
Package loz contains functionality supplemental to samber/lo. |
Package options implements config options.
|
Package options implements config options. |
Package progress contains progress bar widget functionality.
|
Package progress contains progress bar widget functionality. |
Package record holds the record.Record type, which is the core type for holding query results.
|
Package record holds the record.Record type, which is the core type for holding query results. |
Package retry implements retry functionality.
|
Package retry implements retry functionality. |
Package schema provides functionality for modeling SQL constructs.
|
Package schema provides functionality for modeling SQL constructs. |
Package sqlz contains core types such as Kind and Record.
|
Package sqlz contains core types such as Kind and Record. |
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. |
Package tablefq is a tiny package that holds the tablefq.T type, which is a fully-qualified SQL table name.
|
Package tablefq is a tiny package that holds the tablefq.T type, which is a fully-qualified SQL table name. |
Package timez contains time functionality.
|
Package timez contains time functionality. |
Package urlz contains URL utility functionality.
|
Package urlz contains URL utility functionality. |
Click to show internal directories.
Click to hide internal directories.