Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DefaultDesenser = NewStdDesenser()
)
Functions ¶
Types ¶
type StdDesenser ¶
type StdDesenser struct { // 保留前缀字符的长度 MaintainPrefixCharLength int }
脱敏器
func NewStdDesenser ¶
func NewStdDesenser() *StdDesenser
func (*StdDesenser) DeSense ¶
func (d *StdDesenser) DeSense(value string) string
Click to show internal directories.
Click to hide internal directories.