📝 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,*"`
|
Email string `json:"email" sen:"email,*"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func main() {
|
||||||
data := User{
|
data := User{
|
||||||
Name: "lixh",
|
Name: "lixh",
|
||||||
Age: 18,
|
Age: 18,
|
||||||
@ -45,4 +46,5 @@ if err := sensitive.Desensitize(data); err != nil {
|
|||||||
}
|
}
|
||||||
bs, _ := json.Marshal(response)
|
bs, _ := json.Marshal(response)
|
||||||
log.Printf("after processing data: %v", string(bs))
|
log.Printf("after processing data: %v", string(bs))
|
||||||
|
}
|
||||||
```
|
```
|
Loading…
Reference in New Issue
Block a user