Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Reader ¶
func Reader(fname string, out chan<- *line)
func Merge(metadata string, branded string) { // read metadata metadataChan := make(chan *line) go reader(metadata, metadataChan) // read strength set IDs brandedChan := make(chan *line) go reader(branded, brandedChan) // join the two data streams mergedLinesChan := make(chan *line) go joiner(metadataChan, brandedChan, mergedLinesChan) for l := range mergedLinesChan { fmt.Printf("%v,%v\n", l.id, l.restOfLine) } }
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.