Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
UIDMatcher = regexp.MustCompile("^[a-zA-Z0-9]([a-zA-Z0-9-]{0,30}[a-zA-Z0-9])?$")
)
Functions ¶
func ConvertStringToInt32 ¶
ConvertStringToInt32 converts a string to int32.
func HasPrefixes ¶
HasPrefixes returns true if the string s has any of the given prefixes.
func RandomString ¶
RandomString returns a random string with length n.
func ReplaceString ¶ added in v0.22.0
ReplaceString replaces all occurrences of old in slice with new.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.