randutils

package module
v0.0.0-...-64dc6bb Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2015 License: MIT Imports: 2 Imported by: 0

README

randUtils

🔧 Random number/string/symbol/whatever (written in Golang)

Install

Using go

  • go get github.com/QuentinPerez/randUtils

Changelog

master (unreleased)
  • Add Printable
  • Add Numeric
  • Add AlphaUpperNum
  • Add AlphaLowerNum
  • Add AlphaUpper
  • Add AlphaLower
  • Add Pattern

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AlphaLower

func AlphaLower(length uint32) ([]byte, error)

AlphaLower returns an array which contains characters between:

'a' and 'z'

func AlphaLowerNum

func AlphaLowerNum(length uint32) ([]byte, error)

AlphaLowerNum returns an array which contains characters between:

'a' and 'z'
'0' and '9'

func AlphaUpper

func AlphaUpper(length uint32) ([]byte, error)

AlphaUpper returns an array which contains characters between:

'A' and 'Z'

func AlphaUpperNum

func AlphaUpperNum(length uint32) ([]byte, error)

AlphaUpperNum returns an array which contains characters between:

'A' and 'Z'
'0' and '9'

func Numeric

func Numeric(length uint32) ([]byte, error)

Numeric returns an array which contains characters between:

'0' and '9'

func Pattern

func Pattern(length uint32, pattern string) ([]byte, error)

func Printable

func Printable(length uint32) ([]byte, error)

Printable returns an array which contains characters printable:

Types

This section is empty.

Jump to

Keyboard shortcuts

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