hexid

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package hexid provides a dead simple hexadecimal random ID generator.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(n int) string

New generates a lowercase hexadecimal string encoding n bytes of random data (hence the generated string is 2*n characters long). This function panics if the random source cannot be read.

Types

This section is empty.

Jump to

Keyboard shortcuts

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