random

package
v1.1.30 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateRandomString added in v1.0.2

func GenerateRandomString(letterLength, numberLength int) string

GenerateRandomString 生成随机字符串, 分别指定字母和数字的长度

func UUID

func UUID(isRemoveInvalidChar ...bool) string

UUID 生成UUID

func UUIDToUpperCase

func UUIDToUpperCase(isRemoveInvalidChar ...bool) string

UUIDToUpperCase 生成UUID并转换为大写

Types

This section is empty.

Jump to

Keyboard shortcuts

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