增加data mask 调度与注册逻辑
This commit is contained in:
24
default.go
Normal file
24
default.go
Normal file
@ -0,0 +1,24 @@
|
||||
// Package data_mask ...
|
||||
//
|
||||
// Description : data_mask ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 2023-05-23 14:25
|
||||
package data_mask
|
||||
|
||||
// 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 {
|
||||
return TypeDefault
|
||||
}
|
Reference in New Issue
Block a user