A simple go library for generation unique IDs
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

11 lines
148 B

4 years ago
package uniqueID
var baseSpace IDSpace
func NewID() ID {
return baseSpace.NewID()
func IDExists(id ID) bool {
return baseSpace.IDExists(id)