rename
This commit is contained in:
24
strategy/mail_test.go
Normal file
24
strategy/mail_test.go
Normal file
@@ -0,0 +1,24 @@
|
||||
// Package data_mask ...
|
||||
//
|
||||
// Description : data_mask ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 2023-05-24 14:47
|
||||
package strategy
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"testing"
|
||||
)
|
||||
|
||||
// TestMailDataMask_Mask ...
|
||||
//
|
||||
// Author : go_developer@163.com<白茶清欢>
|
||||
//
|
||||
// Date : 14:47 2023/5/24
|
||||
func TestMailDataMask_Mask(t *testing.T) {
|
||||
i := &MailDataMask{}
|
||||
input := "baichaqinghuan123@123.com"
|
||||
fmt.Println(input, "--------------->", i.Mask(input))
|
||||
}
|
||||
Reference in New Issue
Block a user