Skip to content

feldti/GsUlid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

GsUlid

GsUlid is an implementation of the ulid specification located at https://github.com/ulid/spec. The package is based on the GsMultibase package.

Usage

You may want to get a single ulid by calling:

MSKULIDGenerator new generate

or you may want to get a specific number of ulids:

MSKULIDGenerator new generate: 100

Installation

I assume a database created via "createStone " (GsDevKit), so tODE and lots of other libraries are already loaded.

You can load GsMultibase using Metacello. The lock statement is needed due to different PharoCompatibility definitions.

You can load GsUlid using Metacello

Metacello new
  repository: 'github://feldti/GsUlid:main/repository';
  baseline: 'GsUlid';
  onLock: [:ex | ex honor ];
  load

About

Ulid ID Generation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published