Documentation ¶
Overview ¶
Package stringutils holds utility methods for working with strings.
Index ¶
Constants ¶
View Source
const ( // CharsetUnicode represents set of Unicode characters (contain multi byte runes). CharsetUnicode = "abcdefghijklmnopqrstuvwxyz" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "0123456789" + "🤡🤖🧟🏋🥇☟💄🐲🌓🌪🇵🇱⚥❄☠⌘©®💵⓵ " + "ęśćżźłóń" // CharsetASCII represents set containing only ASCII characters. CharsetASCII = " !\"#$%&\\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~" )
Variables ¶
This section is empty.
Functions ¶
func RunesFromCharset ¶ added in v0.8.0
RunesFromCharset returns random slice of runes of given length. Argument length indices length of output slice. Argument charset indices input charset from which output slice will be composed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.