mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-12-08 08:40:26 +00:00
First commit
This commit is contained in:
11
pkg/obitax/taxonslice.go
Normal file
11
pkg/obitax/taxonslice.go
Normal file
@@ -0,0 +1,11 @@
|
||||
package obitax
|
||||
|
||||
type TaxonSlice []*TaxNode
|
||||
|
||||
func (set *TaxonSlice) Get(i int) *TaxNode {
|
||||
return (*set)[i]
|
||||
}
|
||||
|
||||
func (set *TaxonSlice) Length() int {
|
||||
return len(*set)
|
||||
}
|
||||
Reference in New Issue
Block a user