Categorygithub.com/invzhi/next
repositorypackage
1.1.1
Repository: https://github.com/invzhi/next.git
Documentation: pkg.go.dev

# README

Package next

Go Reference Go Report Card codecov

❄️ Set next value to fields when creating with GORM.

Usage

Next delivers a GORM plugin to set next value for fields.

The most common usage is generating a distributed unique ID like Twitter's Snowflake.

See also example.