Skip to content
This repository has been archived by the owner on Mar 6, 2021. It is now read-only.

jkthorne/uuid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

uuid

UUIDs for crystal

create generic UUID

require "uuid"

UUID.new

create UUID with strings and options for variants and versions

UUID.new("c20335c3-7f46-4126-aae9-f665434ad12b", variant: UUID::Variant::NCS)
UUID.new(StaticArray(UInt8, 16).new(0_u8), version: UUID::Version::V3)

Installation

Add this to your application's shard.yml:

dependencies:
  uuid:
    github: wontruefree/uuid

About

UUID for crystal

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published