Documentation ¶
Index ¶
Constants ¶
View Source
const DefaultMaskLength = 10
DefaultMaskLength is the mask length of masked string
Variables ¶
This section is empty.
Functions ¶
func MaskString ¶
MaskString takes string as argument and keep a visibleLength number of charators and mask maskCharacter is used to generate the masked part of the string It can mask the charators from either left or right hand side of the string depending on maskRight boolean It returns the masked string
func StringInSlice ¶
StringInSlice checks whether a given string is included in the slice
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.