gorandom

package module
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 2 Imported by: 5

README

Golang

📦 Golang Random

godoc goproxy.cn goreportcard.com deps.dev

安装

go get -v -u go.dtapp.net/gorandom@v1.0.3

Documentation

Index

Constants

View Source
const Version = "1.0.3"

Variables

This section is empty.

Functions

func Alphabetic

func Alphabetic[T int | int64](n T) string

Alphabetic 随机字母

func Alphanumeric

func Alphanumeric[T int | int64](n T) string

Alphanumeric 随机字母数字

func Ascii

func Ascii[T int | int64](n T) string

Ascii 随机ASCII

func Numeric

func Numeric[T int | int64](n T) string

Numeric 随机数字

func Range added in v1.0.2

func Range(min int64, max int64) int64

Types

This section is empty.

Jump to

Keyboard shortcuts

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