9 lines
139 B
Go
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()
|
||
|
}
|