Skip to content

anarcher/shortuuid

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shortuuid.go

shortuuid is a simple go library that generates concise, unambiguous, +URL-safe UUIDs.

It's inspired by shortuuid python library

Usage

package main

import (
    "fmt"
    "github.com/anarcher/shortuuid"
)

func main() {
    id := shortuuid.New()
   fmt.Println(id)
}

$go run main.go
wusrj4VHumEALr4mQjArnj
$go run main.go
YTPp9cZDECzweSyywSespm

About

A generator library for concise and URL-safe UUIDs In Go.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages