mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-06-29 16:20:46 +00:00
introduce obidefault
This commit is contained in:
32
pkg/obidefault/taxonomy.go
Normal file
32
pkg/obidefault/taxonomy.go
Normal file
@ -0,0 +1,32 @@
|
||||
package obidefault
|
||||
|
||||
var __taxonomy__ = ""
|
||||
var __alternative_name__ = false
|
||||
|
||||
func SelectedTaxonomy() string {
|
||||
return __taxonomy__
|
||||
}
|
||||
|
||||
func HasSelectedTaxonomy() bool {
|
||||
return __taxonomy__ != ""
|
||||
}
|
||||
|
||||
func AreAlternativeNamesSelected() bool {
|
||||
return __alternative_name__
|
||||
}
|
||||
|
||||
func SelectedTaxonomyPtr() *string {
|
||||
return &__taxonomy__
|
||||
}
|
||||
|
||||
func AlternativeNamesSelectedPtr() *bool {
|
||||
return &__alternative_name__
|
||||
}
|
||||
|
||||
func SetSelectedTaxonomy(taxonomy string) {
|
||||
__taxonomy__ = taxonomy
|
||||
}
|
||||
|
||||
func SetAlternativeNamesSelected(alt bool) {
|
||||
__alternative_name__ = alt
|
||||
}
|
Reference in New Issue
Block a user