randstring

package
v0.0.0-...-92ba5c8 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RandEncoding = base64.NewEncoding("abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijkl").WithPadding(base64.NoPadding)

Functions

func MustRandomBytes

func MustRandomBytes(size int) []byte

func MustRandomString

func MustRandomString(size int) string

func RandomBytes

func RandomBytes(size int) ([]byte, error)

func RandomString

func RandomString(size int) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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