random

package
Version: v0.0.0-...-b90bf7d Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Base64

func Base64(bytes int) string

Base64 returns a random base64-formatted string of specified length.

func Bytes

func Bytes(n int) []byte

Bytes returns a specified length of random bytes.

func Hex

func Hex(bytes int) string

Hex returns a random hex-formatted string of specified length.

func String

func String(n int) string

String returns a random hex-formatted string of specified length.

func UUID

func UUID() string

UUID returns a new v4 UUID string.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL