You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
local snowflake = require "resty.snowflake"
local worker_id = 1
local datacenter_id = 1
local sf = snowflake:new(worker_id, datacenter_id)
local next_id = sf:next_id()