Directories
¶
| Path | Synopsis |
|---|---|
|
Package collections provides generic collection types and functional slice operations: an unordered Set with the standard algebra (union, intersect, diff, subset) plus iter.Seq iteration, and Map/Filter/Reduce helpers whose shapes mirror the stdlib slices package conventions.
|
Package collections provides generic collection types and functional slice operations: an unordered Set with the standard algebra (union, intersect, diff, subset) plus iter.Seq iteration, and Map/Filter/Reduce helpers whose shapes mirror the stdlib slices package conventions. |
|
Package dao is a generic, driver-agnostic data-access layer (DAL) for Go.
|
Package dao is a generic, driver-agnostic data-access layer (DAL) for Go. |
|
postgres
Package postgres is the reference Postgres driver for golib/dao, implemented over github.com/jackc/pgx/v5.
|
Package postgres is the reference Postgres driver for golib/dao, implemented over github.com/jackc/pgx/v5. |
|
sqlite
Package sqlite is a SQLite driver for golib/dao, implemented over the standard library database/sql and backed by the pure-Go modernc.org/sqlite driver (no cgo).
|
Package sqlite is a SQLite driver for golib/dao, implemented over the standard library database/sql and backed by the pure-Go modernc.org/sqlite driver (no cgo). |
|
Package ingestor provides generic, thread-safe data ingestion pipelines that buffer items in memory and flush them to various backends.
|
Package ingestor provides generic, thread-safe data ingestion pipelines that buffer items in memory and flush them to various backends. |
|
Package logger provides a small, zero-dependency, level-based logging hook.
|
Package logger provides a small, zero-dependency, level-based logging hook. |
|
Package partial models an HTTP PATCH body as a presence-aware, three-state payload for a model type T (ADR-0001).
|
Package partial models an HTTP PATCH body as a presence-aware, three-state payload for a model type T (ADR-0001). |
|
Package request is a small HTTP client: Request/Do execute a request/response cycle into a Params carrier (transport errors only — status codes are data), DecodeResponse maps the result into typed success or error values, FormWriter builds multipart payloads, and Histories keeps a bounded debug trail of recent request/response pairs.
|
Package request is a small HTTP client: Request/Do execute a request/response cycle into a Params carrier (transport errors only — status codes are data), DecodeResponse maps the result into typed success or error values, FormWriter builds multipart payloads, and Histories keeps a bounded debug trail of recent request/response pairs. |
|
Package server is the shared, transport-agnostic core of golib's server subsystem.
|
Package server is the shared, transport-agnostic core of golib's server subsystem. |
|
http
Package httpserver is the HTTP transport for golib's server subsystem.
|
Package httpserver is the HTTP transport for golib's server subsystem. |
|
ws
Package ws is golib's WebSocket transport (golib-server ADR-0007): endpoints are ordinary routes on the golib/server/http router, wrapped by the same middleware as any handler, with a ctx-first Session API.
|
Package ws is golib's WebSocket transport (golib-server ADR-0007): endpoints are ordinary routes on the golib/server/http router, wrapped by the same middleware as any handler, with a ctx-first Session API. |
|
Package threadsafe provides generic, thread-safe value containers for Go.
|
Package threadsafe provides generic, thread-safe value containers for Go. |
|
Package tui is the core of golib's minimal-dependency, retained-mode terminal UI framework (ADR-0001): the driver seam (Backend, Capabilities, TestBackend), the grapheme-cluster cell buffer and render pipeline (Cell, CellAttrs, Surface), the concrete Event set, and the layout value types (Rect, Size, Constraints).
|
Package tui is the core of golib's minimal-dependency, retained-mode terminal UI framework (ADR-0001): the driver seam (Backend, Capabilities, TestBackend), the grapheme-cluster cell buffer and render pipeline (Cell, CellAttrs, Surface), the concrete Event set, and the layout value types (Rect, Size, Constraints). |
|
examples/demo
command
Command demo is the ADR-0001 §5.3 acceptance demo for golib/tui: a split layout with focus cycling, a text input, an async-filled list (App.Go), a BufferView streaming colored output, and a status bar — running on term.Open when stdout is a terminal.
|
Command demo is the ADR-0001 §5.3 acceptance demo for golib/tui: a split layout with focus cycling, a text input, an async-filled list (App.Go), a BufferView streaming colored output, and a status bar — running on term.Open when stdout is a terminal. |
|
internal/grapheme
Package grapheme provides Unicode grapheme cluster segmentation (UAX #29 extended grapheme clusters) and terminal display-width measurement (UAX #11 East Asian Width plus UTS #51 emoji data) with zero dependencies, backed by generated, committed tables.
|
Package grapheme provides Unicode grapheme cluster segmentation (UAX #29 extended grapheme clusters) and terminal display-width measurement (UAX #11 East Asian Width plus UTS #51 emoji data) with zero dependencies, backed by generated, committed tables. |
|
internal/grapheme/gen
command
Command gen regenerates the grapheme package's tables.go from Unicode Character Database (UCD) files.
|
Command gen regenerates the grapheme package's tables.go from Unicode Character Database (UCD) files. |
|
style
Package style provides the styling, design-token, and theming layer of golib/tui (ADR-0006): an immutable, fluent Style value, a resolvable Color sum type, a semantic Token vocabulary with a derivation-driven Theme, and the BorderStyle prefabs.
|
Package style provides the styling, design-token, and theming layer of golib/tui (ADR-0006): an immutable, fluent Style value, a resolvable Color sum type, a semantic Token vocabulary with a derivation-driven Theme, and the BorderStyle prefabs. |
|
term
Package term is golib/tui's concrete ANSI terminal driver (ADR-0002): the real-terminal implementation of the tui.Backend seam on unix and Windows.
|
Package term is golib/tui's concrete ANSI terminal driver (ADR-0002): the real-terminal implementation of the tui.Backend seam on unix and Windows. |
|
widget
Package widget is golib/tui's standard widget set v1 (ADR-0007): the Base embedding contract, the Box titled-window container, and the eleven widgets sufficient to build sqlit- and lazygit-shaped applications out of the box.
|
Package widget is golib/tui's standard widget set v1 (ADR-0007): the Base embedding contract, the Box titled-window container, and the eleven widgets sufficient to build sqlit- and lazygit-shaped applications out of the box. |
Click to show internal directories.
Click to hide internal directories.