Skip to content

mikejav/random

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

Go Report Card

random

generates fixed length random strings. Useful e.g. for generating session ID

Install

go get github.com/mikejav/random

Usage

...
random.Generate(length)
...

Example

package main

import (
	"fmt"

	"github.com/mikejav/random"
)

func main() {
	fmt.Println("Random string length of 10 is:", random.Generate(10))
}

About

Generates fixed length random strings

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages