uniq

package module
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 16, 2024 License: MIT Imports: 2 Imported by: 0

README

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 (
    "fmt"
    "github.com/ilyabrin/uniq"
)

func main() {
    generatedID := uniq.New(10,4)
    fmt.Println("Generated ID:", generatedID)
}

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(length, size int) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL