From d6bc4b9d728cc58bba64a2f134f85955019e7a7c Mon Sep 17 00:00:00 2001 From: raj_mathe Date: Wed, 3 Nov 2021 19:34:57 +0100 Subject: [PATCH] master > master: code go - minor --- code/golang/internal/endpoints/endpoints_it.go | 5 +++++ code/golang/internal/endpoints/endpoints_run.go | 7 ++++--- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/code/golang/internal/endpoints/endpoints_it.go b/code/golang/internal/endpoints/endpoints_it.go index 254a87f..dbafba7 100644 --- a/code/golang/internal/endpoints/endpoints_it.go +++ b/code/golang/internal/endpoints/endpoints_it.go @@ -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 } diff --git a/code/golang/internal/endpoints/endpoints_run.go b/code/golang/internal/endpoints/endpoints_run.go index 7d53649..51013ba 100644 --- a/code/golang/internal/endpoints/endpoints_run.go +++ b/code/golang/internal/endpoints/endpoints_run.go @@ -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" ) /* ---------------------------------------------------------------- *