jldb/mdb/id.go
2023-10-13 11:43:27 +02:00

9 lines
139 B
Go

package mdb
import "git.crumpington.com/public/jldb/lib/idgen"
// Safely generate a new ID.
func NewID() uint64 {
return idgen.Next()
}