Documentation ¶
Overview ¶
Package stringutils holds utility methods for working with strings.
Index ¶
Constants ¶
View Source
const ( // CharsetUnicode represents set of Unicode characters. CharsetUnicode = "abcdefghijklmnopqrstuvwxyz" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ" + "0123456789" + "🤡🤖🧟🏋🥇☟💄🐲🌓🌪🇵🇱⚥❄☠⌘©®💵⓵ " + "ęśćżźłóń" // CharsetASCII represents set of only ASCII characters. CharsetASCII = "abcdefghijklmnopqrstuvwxyz" + "ABCDEFGHIJKLMNOPQRSTUVWXYZ" )
Variables ¶
This section is empty.
Functions ¶
func StringWithCharset ¶
StringWithCharset returns random string of given length. Argument length indices length of output string. Argument charset indices input charset from which output string will be composed.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.