Documentation
¶
Overview ¶
Package pick holds tiny helpers shared by every dataset subpackage: uniform random selection plus filesystem readers for JSON, JSONL, and line-delimited text files. Internal by design — not part of the public API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadJSONL ¶
LoadJSONL reads path from fsys as a stream of JSON values and decodes each into a value of type T. Tolerates JSON Lines (one value per line), concatenated values with no separator, and arbitrary whitespace between values — useful because hand-curated JSONL files occasionally have a missing newline between records.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.