Discover Packages
github.com/miku/span
internal
cmd
localdata
package
Version:
v0.2.37
Opens a new window with list of versions in this module.
Published: Aug 20, 2026
License: GPL-3.0
Opens a new window with license information.
Imports: 6
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
Package localdata implements the core of span-local-data: it extracts a
small set of fields from intermediate schema records as comma separated
values — something jq can do as well, albeit a bit slower.
Run reads intermediate schema records from r and writes id, source id, doi
and labels as comma separated values to w.
WriteFields writes a variable number of fields as tab separated values into a writer.
type Config struct {
BatchSize int
}
Config holds the tunables for a local-data run.
DefaultConfig returns the default configuration.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.