📝 update readme.md
This commit is contained in:
parent
b0e2a0086a
commit
9a91f7af91
@ -22,6 +22,7 @@ type User struct {
|
||||
Email string `json:"email" sen:"email,*"`
|
||||
}
|
||||
|
||||
func main() {
|
||||
data := User{
|
||||
Name: "lixh",
|
||||
Age: 18,
|
||||
@ -45,4 +46,5 @@ if err := sensitive.Desensitize(data); err != nil {
|
||||
}
|
||||
bs, _ := json.Marshal(response)
|
||||
log.Printf("after processing data: %v", string(bs))
|
||||
}
|
||||
```
|
Loading…
Reference in New Issue
Block a user