remove query function and json dependencyce

This commit is contained in:
chatlanin
2024-07-16 10:21:35 +03:00
parent 09881403cd
commit d95473995d
54 changed files with 0 additions and 49219 deletions

View File

@@ -1,7 +1,6 @@
#include "hack/logger/logger.hpp"
#include "hack/utils/utils.hpp"
#include "hack/utils/singleton.hpp"
#include "hack/utils/func_query.hpp"
int f(int a)
{
@@ -76,25 +75,6 @@ auto main(int argc, char *argv[]) -> int
}
}
{// ex: query function
auto query = hack::utils::make_query("super_function", "1", "two");
hack::log()("query", query);
query = hack::utils::make_query("super_function", 1, 'c');
hack::log()("query", query);
std::string jstr { "{\"test\",\"data\"}" };
query = hack::utils::make_query("super_function", 1, 123.3f, jstr);
hack::log()("JSON sting", query);
nlohmann::json js { "test", "data" };
query = hack::utils::make_query("super_function", 1'000'000, 123.3f, js);
hack::log()("JSON", query);
query = hack::utils::make_query("super_function");
hack::log()("query", query);
}
{// ex: singleton
test_singleton::instance().print();
}