mirror of
https://github.com/metabarcoding/obitools4.git
synced 2026-11-09 17:24:41 +00:00
Fisrt versin of the two levels indexing
Former-commit-id: 4d86483bc120e27cb6f5d2c216596d410274fc69
This commit is contained in:
1 parent
42c5881ddc
commit
4e4fac491f
9 files changed
+319
-19
No files matched your search
@@ -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