mirror of
https://github.com/metabarcoding/obitools4.git
synced 2025-12-08 08:40:26 +00:00
Fisrt versin of the two levels indexing
Former-commit-id: 4d86483bc120e27cb6f5d2c216596d410274fc69
This commit is contained in:
@@ -42,6 +42,8 @@ func InterfaceToBool(i interface{}) (val bool, err error) {
|
||||
val = false
|
||||
|
||||
switch t := i.(type) {
|
||||
case bool:
|
||||
val = t
|
||||
case int:
|
||||
val = t != 0
|
||||
case int8:
|
||||
|
||||
Reference in New Issue
Block a user