quickRandomString

package module
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 17, 2020 License: MIT Imports: 3 Imported by: 0

README

go quick random string

This package was made from answer on StackOwerflow. Thanks @icza for help

Banchmark

Command count ns/op B/op allocs/op
RandStringBytesMaskImprSrcUnsafe(4) 10000000 46.4 ns/op 4 B/op 1 allocs/op
RandStringBytesMaskImprSrcUnsafe(32) 10000000 221 ns/op 32 B/op 1 allocs/op

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandStringBytesMaskImprSrcUnsafe

func RandStringBytesMaskImprSrcUnsafe(n int) string

RandStringBytesMaskImprSrcUnsafe generate random string

Types

This section is empty.

Jump to

Keyboard shortcuts

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