1
0
mirror of https://github.com/duke-git/lancet.git synced 2026-03-01 00:35:28 +08:00

doc: add doc for DeepClone function

This commit is contained in:
dudaodong
2023-02-12 19:24:56 +08:00
parent 4b196a72b1
commit c383719496
4 changed files with 217 additions and 45 deletions

View File

@@ -246,6 +246,8 @@ import "github.com/duke-git/lancet/v2/convertor"
- **<big>DecodeByte</big>** : decode byte slice data to target object.
[[doc](https://github.com/duke-git/lancet/blob/main/docs/convertor.md#DecodeByte)]
[[play](https://go.dev/play/p/zI6xsmuQRbn)]
- **<big>DeepClone</big>** : creates a deep copy of passed item, can't clone unexported field of struct.
[[doc](https://github.com/duke-git/lancet/blob/main/docs/convertor.md#DeepClone)]
### 5. Cryptor package is for data encryption and decryption.