token

package module
v0.0.0-...-03bc511 Latest Latest
Warning

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

Go to latest
Published: Jun 25, 2018 License: GPL-3.0 Imports: 3 Imported by: 0

README

token

godoc

Package token provide a random number generator.

Documentation

Overview

Package token generate random strings of characters of a given size.

Index

Examples

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetToken

func GetToken(index int) string

GetToken generate random strings of characters of a given size. GetToken use current time to avoid overlapping probability.

Example
package main

import (
	"fmt"

	"github.com/geosoft1/token"
)

func main() {
	fmt.Println(token.GetToken(6))
}
Output:

Types

This section is empty.

Jump to

Keyboard shortcuts

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