示例#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(),
	}
}