jldb/mdb/id.go

9 lines
139 B
Go
Raw Normal View History

2023-10-13 09:43:27 +00:00
package mdb
import "git.crumpington.com/public/jldb/lib/idgen"
// Safely generate a new ID.
func NewID() uint64 {
return idgen.Next()
}