master > master: code go - minor

This commit is contained in:
RD 2021-11-03 19:34:57 +01:00
parent 6b5c81c276
commit d6bc4b9d72
2 changed files with 9 additions and 3 deletions

View File

@ -177,6 +177,11 @@ func actionShowSettings() (bool, error) {
state = "ein"
}
logging.LogInfo(fmt.Sprintf("Debugmodus: %s", state))
state = "aus"
if setup.AppConfigPerformChecks() {
state = "ein"
}
logging.LogInfo(fmt.Sprintf("Pre/Postchecking: %s", state))
return false, nil
}

View File

@ -7,6 +7,10 @@ package endpoints
import (
"fmt"
"ads/internal/core/logging"
"ads/internal/setup"
"ads/internal/types"
algorithm_search_binary "ads/internal/algorithms/search/binary"
algorithm_search_interpol "ads/internal/algorithms/search/interpol"
algorithm_search_ith_element "ads/internal/algorithms/search/ith_element"
@ -14,9 +18,6 @@ import (
algorithm_search_poison "ads/internal/algorithms/search/poison"
algorithm_search_sequential "ads/internal/algorithms/search/sequential"
algorithm_sum_maxsubsum "ads/internal/algorithms/sum/maxsubsum"
"ads/internal/core/logging"
"ads/internal/setup"
"ads/internal/types"
)
/* ---------------------------------------------------------------- *