An open API service indexing awesome lists of open source software.

https://github.com/pangum/id

编号算法生成器集成,通过配置文件来配置生成算法,包括:1、雪花算法;2、自增算法
https://github.com/pangum/id

autoincrement framwork id library pangu snowflake

Last synced: 8 months ago
JSON representation

编号算法生成器集成,通过配置文件来配置生成算法,包括:1、雪花算法;2、自增算法

Awesome Lists containing this project

README

          

# id
[![编译状态](https://github.ruijc.com:20443/api/badges/pangum/id/status.svg)](https://github.ruijc.com:20443/pangum/id)
[![Golang质量](https://goreportcard.com/badge/github.com/pangum/id)](https://goreportcard.com/report/github.com/pangum/id)
![版本](https://img.shields.io/github/go-mod/go-version/pangum/id)
![仓库大小](https://img.shields.io/github/repo-size/pangum/id)
![最后提交](https://img.shields.io/github/last-commit/pangum/id)
![授权协议](https://img.shields.io/github/license/pangum/id)
![语言个数](https://img.shields.io/github/languages/count/pangum/id)
![最佳语言](https://img.shields.io/github/languages/top/pangum/id)
![星星个数](https://img.shields.io/github/stars/pangum/id?style=social)

编号(`Id`)生成器算法,包括
- `雪花`算法
- `自增`算法
- 接口式设计,方便增加自己的算法实现,如
- 基于`数据库`自增方案
- 基于`Redis`自增方案

## 项目实践

- [基础项目实战代码](https://github.com/pangum/example)
- 数据库操作
- 数据库迁移
- RESTFul接口
- 配置加载
- MQTT操作

## 交流

![微信群](https://pangu.pangum.tech/communication/wxwork.jpg)

## 捐助

![支持宝](https://github.com/storezhang/donate/raw/master/alipay-small.jpg)
![微信](https://github.com/storezhang/donate/raw/master/weipay-small.jpg)

## 感谢Jetbrains

本项目通过`Jetbrains开源许可IDE`编写源代码,特此感谢

[![Jetbrains图标](https://resources.jetbrains.com/storage/products/company/brand/logos/jb_beam.svg)](https://www.jetbrains.com/?from=pangum/id)