支持传入的跟结构就是数组

This commit is contained in:
2025-03-23 20:54:35 +08:00
parent 0b609e8e26
commit bc91937116
4 changed files with 83 additions and 10 deletions

View File

@ -3,4 +3,6 @@ package dynamicstruct
const (
// ArraySplit is the string used to split array elements
ArraySplit = "[]"
// ArrayRootFlag 传入路径直接以数组开头
ArrayRootFlag = "__RootArrayFlag"
)