Documentation
¶
Overview ¶
Package updatelabels rewrites the x.labels field of intermediate schema records from an in-memory ID→ISIL mapping. It backs span-update-labels.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadLabelMap ¶
LoadLabelMap reads lines of "id<sep>isil<sep>isil..." from r and returns a map from record id to its list of labels. The mapping is kept in memory, so there is a limit to the number of lines. As in the original, a final line without a trailing newline is not included.
Types ¶
Click to show internal directories.
Click to hide internal directories.