random

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2022 License: CC-BY-4.0 Imports: 6 Imported by: 0

Documentation

Overview

Copyright (C) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See LICENSE-CODE in the project root for license information. Package random implements random routines

Copyright (C) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See LICENSE-CODE in the project root for license information.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RandStringRunesFast

func RandStringRunesFast(byteCount int) string

RandStringRunesFast returns a random string of size byteCount

func RandStringRunesSlow

func RandStringRunesSlow(byteCount int) string

RandStringRunesSlow returns a random string of size byteCount implementation derived from https://stackoverflow.com/questions/22892120/how-to-generate-a-random-string-of-a-fixed-length-in-go

func RandStringRunesUltraFast

func RandStringRunesUltraFast(byteCount int) string

RandStringRunesUltraFast returns a random string of size byteCount

func RandStringRunesUltraFastBytes

func RandStringRunesUltraFastBytes(byteCount int) []byte

RandStringRunesUltraFast returns a random string of size byteCount

func RandStringRunesUltraFastBytesParallel

func RandStringRunesUltraFastBytesParallel(byteCount int) []byte

RandStringRunesUltraFast returns a random string of size byteCount

Types

This section is empty.

Jump to

Keyboard shortcuts

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