ID生成器方案

Snowflake算法
百度的:https://github.com/baidu/uid-generator/blob/master/README.zh_cn.md
sony的;https://github.com/sony/sonyflake
其他:https://github.com/bwmarrin/snowflake

你可能感兴趣的:(Go基础,Go语言笔记)