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 provides simple error handling primitives.
|
Package errz provides simple error handling primitives. |
Package ioz contains supplemental io functionality.
|
Package ioz contains supplemental io functionality. |
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. |
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. |
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 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 sqlmodel provides functionality for modeling SQL constructs.
|
Package sqlmodel 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 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.