stringer

package
v0.0.0-...-2a10a86 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Base62Chars = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
View Source
const Base64Chars = "0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ+/"
View Source
const DecChars = "0123456789"
View Source
const HexChars = "0123456789abcdef"

Variables

This section is empty.

Functions

func Random

func Random(length int, alphabets ...string) string

func Shuffle

func Shuffle(s string) string

func ToShort

func ToShort(s string) string

ToShort is make string transfer to short string. example as aaaaa-bbbb to ab

func UpperToShort

func UpperToShort(s string) string

UpperToShort is make string transfer to short string. example as AbbbsBbbCb to ABC

Types

This section is empty.

Jump to

Keyboard shortcuts

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