2018-06-20から1日間の記事一覧
Ⅰ. はじめに タイトルの通り「LuaでUUIDバージョン4を生成する方法」です。 Ⅱ. サンプルプログラム math.randomseed(os.time()) local random = math.random local function uuid() local template ='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx' return string.g…
Ⅰ. はじめに タイトルの通り「LuaでUUIDバージョン4を生成する方法」です。 Ⅱ. サンプルプログラム math.randomseed(os.time()) local random = math.random local function uuid() local template ='xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx' return string.g…