2023-05-23 14:32:26 +08:00
|
|
|
// Package data_mask ...
|
|
|
|
//
|
|
|
|
// Description : data_mask ...
|
|
|
|
//
|
|
|
|
// Author : go_developer@163.com<白茶清欢>
|
|
|
|
//
|
|
|
|
// Date : 2023-05-23 14:25
|
|
|
|
package data_mask
|
|
|
|
|
2024-04-07 21:35:55 +08:00
|
|
|
import "git.zhangdeman.cn/zhangdeman/data_mask/define"
|
|
|
|
|
2023-05-23 14:32:26 +08:00
|
|
|
// DefaultDataMask 默认实现
|
|
|
|
//
|
|
|
|
// Author : go_developer@163.com<白茶清欢>
|
|
|
|
//
|
|
|
|
// Date : 14:27 2023/5/23
|
|
|
|
type DefaultDataMask struct {
|
|
|
|
}
|
|
|
|
|
|
|
|
func (d DefaultDataMask) Mask(input string) string {
|
|
|
|
return input
|
|
|
|
}
|
|
|
|
|
|
|
|
func (d DefaultDataMask) Type() string {
|
2024-04-07 21:35:55 +08:00
|
|
|
return define.TypeDefault
|
2023-05-23 14:32:26 +08:00
|
|
|
}
|