예제 #1
0
파일: subset.go 프로젝트: MG-RAST/Shock
func NewSubsetIndexer(f *os.File) subset {
	return subset{
		f:     f,
		r:     line.NewReader(f),
		Index: New(),
	}
}
예제 #2
0
파일: column.go 프로젝트: MG-RAST/Shock
func NewColumnIndexer(f *os.File) column {
	return column{
		f:     f,
		r:     line.NewReader(f),
		Index: New(),
	}
}
예제 #3
0
파일: line.go 프로젝트: MG-RAST/Shock
func NewLineIndexer(f *os.File, nType string, snFormat string, snIndexPath string) Indexer {
	return &lineRecord{
		f:     f,
		r:     line.NewReader(f),
		t:     nType,
		snf:   snFormat,
		snp:   snIndexPath,
		Index: New(),
	}
}