add example for validate uuid

This commit is contained in:
chatlanin 2022-11-10 11:18:59 +03:00
parent 45b00b6fae
commit 0679cdf56c

View File

@ -255,7 +255,8 @@ int main(int argc, char *argv[])
hack::log()("security::generate_uuid");
{// ex: security::generate_uuid
hack::log()(hack::security::generate_uuid());
auto uuid = hack::security::generate_uuid();
hack::log()(uuid, hack::security::validate_uuid(uuid));
}
hack::log()("============================================================");