/uniq

Generate unique ID with given length

Primary LanguageGoMIT LicenseMIT

UNIQ

Go Tests GitHub pull requests PR's Welcome GitHub Release

Generate unique ID with given length

Installation and usage

Installation

go get -u github.com/ilyabrin/uniq

Usage

package main

import "github.com/ilyabrin/uniq"

const length = 10
const maxUpCase = 6

func main() {
	println("Generated ID:", uniq.New(length, maxUpCase))
}

Example: https://go.dev/play/p/i6vKfk-evij

License

MIT