一个写代码的彩笔
lixh00 / sensitive Goto Github PK
View Code? Open in Web Editor NEW利用反射处理结构体,处理带`sen`标签的字段(规则: `规则名称,占位符`,如:`phone,*`),将其脱敏。支持自定义处理函数 Use reflection to process the structure, process the fields with the `sen` tag (rule: `rule name, placeholder`, such as: `phone,*`), and desensitize it. Support custom handlers
License: Apache License 2.0