random

package module
v0.0.0-...-2816018 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2021 License: MIT Imports: 5 Imported by: 7

README

random

Simple Random Stuff

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Str

func Str(n int) string

Str - creates randon str w len of n. Letter only (upper and lower).

func StrLetterNum

func StrLetterNum(n int) string

StrLetterNum - same as Str, but Letters and Numbers.

func StrLetterNumUpper

func StrLetterNumUpper(n int) string

StrLetterNumUpper - same as Str, but Letters Upper only and Numbers.

func StrTS

func StrTS(n int) string

StrTS - Same as Str,but adds Unix in Base64 as prefix.

func StrTSNano

func StrTSNano(n int) string

StrTSNano - Same as Str,but adds UnixNano in Base64 as prefix.

func StrUpper

func StrUpper(n int) string

StrUpper - same as Str, but only Uppercase Letters.

func TS

func TS() string

TSNano - returns now in secs encoded b64.

func TSNano

func TSNano() string

TSNano - returns now in nanosecs encoded b64.

Types

This section is empty.

Jump to

Keyboard shortcuts

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