strings

package
v0.0.0-...-01d4da0 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MulanPSL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildCasualString

func BuildCasualString(level CasualLevel, length int) string

func RuneCutting

func RuneCutting(in string, byteLimit int) (arr []string)

RuneCutting 按照字节限制,以字符编码的形式切割字符串

Types

type CasualLevel

type CasualLevel uint32
const (
	CasualNumber CasualLevel = iota
	CasualLetter
	CasualNumberAndLetter
	CasualNumberAndLetterAndSymbol
)

Jump to

Keyboard shortcuts

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